Quote:
Originally Posted by thebbig1foru
|
I tried your package and i get this error:
Code:
PS C:\mfc-node-master> node main.js
C:\mfc-node-master\node_modules\MFCAuto\lib\Model.js:724
Model.rawListeners = Model.eventsForAllModels.rawListeners.bind(Model.eventsForAllModels);
^
TypeError: Cannot read property 'bind' of undefined
at Object.<anonymous> (C:\mfc-node-master\node_modules\MFCAuto\lib\Model.js:724:59)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\mfc-node-master\node_modules\MFCAuto\lib\Client.js:15:17)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
PS C:\mfc-node-master>
I also tried moving the MFCauto folder into the node folders modules and it still isn't working. This is with node 8.11.3. I tried 10.4.1 previously and it still didn't work. I am going to try the newer one again n see though.
EDIT I tried the newer node version with the MEGA link you shared and i now get this:
Code:
PS C:\mfc-node-master> node main.js
C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:171
throw generateError(state, message);
^
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 11, column 1:
^
at generateError (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:165:10)
at throwError (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:171:9)
at readBlockMapping (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1046:9)
at composeNode (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1332:12)
at readDocument (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1492:3)
at loadDocuments (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1548:5)
at load (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1569:19)
at Object.safeLoad (C:\mfc-node-master\node_modules\js-yaml\lib\js-yaml\loader.js:1591:10)
at Object.<anonymous> (C:\mfc-node-master\main.js:29:19)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
at startup (internal/bootstrap/node.js:238:19)
PS C:\mfc-node-master>