I looked at Stackoverflow and couldn’t find anything which worked. Here’s my current dependencies so it is installed. I do a npm run on the project and a npm start on the server, but the CMD with the server gives me the error. I’m not sure if the versions for bcrypt need to be the same.
App data:
“dependencies”: {
“babel-polyfill”: “^6.26.0”,
“bcrypt”: “^3.0.8”,
“vue”: “^2.5.11”,
“vue-router”: “^3.1.5”
},
Server data:
“dependencies”: {
“babel-cli”: “^6.24.1”,
“babel-preset-es2015”: “^6.24.1”,
“babel-preset-stage-0”: “^6.24.1”,
“bcrypt”: “^1.0.2”,
“body-parser”: “^1.17.2”,
“cookie-parser”: “^1.4.3”,
“cors”: “^2.8.3”,
“express”: “^4.15.3”,
“express-session”: “^1.15.3”,
“nedb”: “^1.8.0”,
“nodemon”: “^1.11.0”,
“passport”: “^0.3.2”,
“passport-local”: “^1.0.0”,
“uuid”: “^3.0.1”
}