Link to home
Start Free TrialLog in
Avatar of MohitPandit
MohitPanditFlag for India

asked on

Node.js: Once, execute node server.js then get errors

Hello Folks,

Once, I execute "node server.js" then I got below errors:


[Error: %1 is not a valid Win32 application.
F:\Project\node_modules\mongoose\node_modules\mongodb\node_modules\bson\build\Re
lease\bson.node]
js-bson: Failed to load c++ bson extension, using pure JS version
F:\Project\node_modules\bcrypt\node_modules\bindings\bindings.js:83
        throw e
        ^

Error: %1 is not a valid Win32 application.
F:\Project\node_modules\bcrypt\build\Release\bcrypt_lib.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at bindings (F:\Project\node_modules\bcrypt\node_modules\bindings\bindings.j
s:76:44)
    at Object.<anonymous> (F:\Project\node_modules\bcrypt\bcrypt.js:3:35)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (F:\Project\server.js:8:14)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)

Could you please assist on it?

Best Regards,
Mohit Pandit
ASKER CERTIFIED SOLUTION
Avatar of BigRat
BigRat
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MohitPandit

ASKER

Thanks