Open SJang1 opened 3 years ago
npm start
> cocoa-printer-server@1.0.0 start c:\Cocoa-Printer-Server
> node index.js
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'c:\Cocoa-Printer-Server\node_modules\sqlite3\lib\binding\node-v83-win32-ia32\node_sqlite3.node'
Require stack:
- c:\Cocoa-Printer-Server\node_modules\sqlite3\lib\sqlite3.js
- c:\Cocoa-Printer-Server\Database.js
- c:\Cocoa-Printer-Server\ipp-server.js
- c:\Cocoa-Printer-Server\index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (c:\Cocoa-Printer-Server\node_modules\sqlite3\lib\sqlite3.js:4:15)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'c:\\Cocoa-Printer-Server\\node_modules\\sqlite3\\lib\\sqlite3.js',
'c:\\Cocoa-Printer-Server\\Database.js',
'c:\\Cocoa-Printer-Server\\ipp-server.js',
'c:\\Cocoa-Printer-Server\\index.js'
]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cocoa-printer-server@1.0.0 start: `node index.js`
npm ERR! Exit status 1
It seems to npm library ghostscript4js is not supporting ARM64. I will move ghostscript4js to optional dependency.