I have seen this issue here, but it's old, I tried everything and nothing helped me. I have a script that run just after vagrant finished to install Ubuntu 17.04. In that script I do a sudo npm install --no-bin-links
to install the dependencies of the project cloned previously. This is the package.json
:
{
"name": "project",
"version": "1.0.0",
"description": "Just a project",
"main": "server.js",
"author": "author",
"private": true,
"license": "ISC",
"dependencies": {
"async": "^2.5.0",
"bcrypt": "^1.0.3",
"body-parser": "^1.17.2",
"connect-redis": "^3.3.0",
"cors": "^2.8.4",
"dotenv": "^4.0.0",
"express": "^4.15.2",
"express-rate-limit": "^2.8.0",
"express-session": "^1.15.4",
"helmet": "^3.8.0",
"marked": "^0.3.6",
"multer": "^1.3.0",
"mv": "^2.1.1",
"mysql2": "^1.4.2",
"request": "^2.82.0",
"sequelize": "^4.13.2"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^3.0.0",
"mocha": "^4.0.1",
"sequelize-cli": "^3.0.0"
}
}
Everything works well except the dependencies that need a .bin
folder, like mocha
or sequelize-cli
. When I go to my node_modules
of my project, there is no .bin
folder...
Does somebody know why?
I run :
Ubuntu 17.04
Node 8.7.0
NPM 5.4.2
And everything with Vagrant and Windows 10.