-
Notifications
You must be signed in to change notification settings - Fork 11
Trying to build voyager App bcrypt issues #5
Description
I keep getting these issues when trying to start voyager
npm WARN rm not removing /Users/johnnyzapata/staffD/node_modules/.bin/window-size as it wasn't installed by /Users/johnnyzapata/staffD/node_modules/window-size
npm WARN rm not removing /Users/johnnyzapata/staffD/node_modules/.bin/uuid as it wasn't installed by /Users/johnnyzapata/staffD/node_modules/uuid
npm ERR! path /Users/johnnyzapata/staffD/node_modules/.bin/node-pre-gyp
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/johnnyzapata/staffD/node_modules/.bin/node-pre-gyp: ../fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp symlink target is not controlled by npm /Users/johnnyzapata/staffD/node_modules/node-pre-gyp
npm ERR! File exists: /Users/johnnyzapata/staffD/node_modules/.bin/node-pre-gyp
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/johnnyzapata/.npm/_logs/2018-05-21T23_16_16_628Z-debug.log
Johnnys-MacBook-Pro:staffD johnnyzapata$ npm rebuild bcryptjs
Johnnys-MacBook-Pro:staffD johnnyzapata$ voyager start
voyager@0.0.0 start /Users/johnnyzapata/staffD
nodemon ./bin/www
[nodemon] 1.17.4
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node ./bin/www
internal/modules/cjs/loader.js:573
throw err;
^
Error: Cannot find module '/Users/johnnyzapata/staffD/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/johnnyzapata/staffD/node_modules/bcrypt/bcrypt.js:6:16)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/johnnyzapata/staffD/app.js:27:16)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/johnnyzapata/staffD/bin/www:5:13)
at Module._compile (internal/modules/cjs/loader.js:678:30)
[nodemon] app crashed - waiting for file changes before starting...