Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Install dependencies failed with node 8 and 10 #240

Open
ClementVanPeuter opened this issue Feb 25, 2019 · 7 comments
Open

Install dependencies failed with node 8 and 10 #240

ClementVanPeuter opened this issue Feb 25, 2019 · 7 comments

Comments

@ClementVanPeuter
Copy link

Maybe see #236 ?

ENOENT: no such file or directory, chmod '/Users/brunosabot/repos/github.com/Zenika/formation-vuejs/node_modules/highlight.js/tools/build.js'

when npm install .

@brunosabot
Copy link

Hey,
I tried to install it with node 6.16.0 (using nvm), node 8.15.0 (using nvm) and node 10.15.1 (using nvm) on MacOS Mojave
Also tried with yarn but same error as #195
Tried executing with docker but got: run.sh: line 49: 'open-url': not a valid identifier

@hgwood
Copy link
Contributor

hgwood commented Feb 25, 2019

@brunosabot could you try npm ci instead of npm install?

@brunosabot
Copy link

Unfortunately, the package-lock.json file in the repository Zenika/formation-vuejs is out to date with the package.json file.

@hgwood
Copy link
Contributor

hgwood commented Feb 25, 2019

Could you try removing all ranges from package.json (all ^ and ~) and retry npm install?

@brunosabot
Copy link

Same error without the ranges (I only have 2 dependencies and one devDependencies):
"grunt": "0.4.5",
"zenika-formation-framework": "3.3.1",
"grunt-cli": "1.3.2"
It still does not work even with a fixed version.

However, the docker script works with bash but not with sh.

@hgwood
Copy link
Contributor

hgwood commented Feb 25, 2019

OK, is the docker script a acceptable workaround for you?

@brunosabot
Copy link

Yes, I think it will be good enough

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants