Quote:
Originally Posted by Damianonymous
|
I downloaded your files, then placed in a directory, tried a "npm install" which failed due to MFCAuto, so I removed that from package.json. "npm install" worked so I copied MFCAuto from an older install I had. But it shows an error (I am on node 10.12):
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module 'ws'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (D:\FOLDER\mfc-node-damianonymous\node_modules\MFCAuto\lib\Client.js:1 7:19)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (D:\FOLDER\mfc-node-damianonymous\node_modules\MFCAuto\lib\index.js:6: 10)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
EDIT: Fixed by copying ws and load modules from another mfc-node folder.
Quote:
Originally Posted by supersonic80
|
That link does not work, please upload again.