Closed Tronic closed 3 years ago
The second error, not fixed even with file-extension
installed globally:
2021-05-07 13:27:49 [ERROR] ENOENT: no such file or directory, open 'node_modules/file-extension/file-extension.js'
at Object.openSync (fs.js:462:3)
at Object.readFileSync (fs.js:364:35)
at /usr/local/lib/node_modules/@droppyjs/cli/node_modules/@droppyjs/server/lib/resources.js:407:19
at Array.forEach (<anonymous>)
at Object.resources.compileJS (/usr/local/lib/node_modules/@droppyjs/cli/node_modules/@droppyjs/server/lib/resources.js:403:22)
at compileAll (/usr/local/lib/node_modules/@droppyjs/cli/node_modules/@droppyjs/server/lib/resources.js:461:38)
at compile (/usr/local/lib/node_modules/@droppyjs/cli/node_modules/@droppyjs/server/lib/resources.js:259:21)
at ReadFileContext.callback (/usr/local/lib/node_modules/@droppyjs/cli/node_modules/@droppyjs/server/lib/resources.js:179:14)
at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13)
Thanks, really strange. I'll work out why this has happened and get back to you!
FWIW, I got this working by installing Droppy non-globally and installing the missing packages on the same folder.
Hi @Tronic could you try it again in the latest version I just put out?
Confirmed on my end. We've added the dependency into the server, dependencies are slowly being better dealt with. Thanks agian.
Thanks, I'll give it a try on Monday :)
On Debian:
After manually installing
autoprefixer
(the cause of this error is that missing), I get another error aboutfile-extension
. Am I doing something wrong or is the packaging broken?