can not find module
I run npm install and npm install texture-compressor then got the error as follow: any idea?
thx
Error: Cannot find module '../dist/cli/lib/index.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.
Hi @caxieyou, it appears that you are on Windows. It appears to be related to relative paths on Windows. I'll likely have some time next week or the week after to look into this and offer a solution, I'm unable to replicate the issue on MacOS.
This seems to be related to, that the library is never built for js. The dist folder is simply missing. And when I install tsc and try to compile, I even get a lot of unsupported arguments, probably originating from tsconfig.json
I recently got a Windows PC so I can have a look at this soon