Error installing npm packages with node 8.5
Closed this issue · 3 comments
markitosgv commented
Cookbook version
master or 4.0, I'm tring with master branch but PR #177 seems not work
Chef-client version
12
Platform Details
Centos 6.9
Scenario:
Installing/updating npm packages with node 8.5
Steps to Reproduce:
Povisioning a vagrant machine with:
"default_attributes": {
"nodejs": {
"install_method": "binary",
"version": "8.5.0",
"binary": {
"checksum": "0000710235e04553147b9c18deadc7cefa4297d4dce190de94cc625d2cf6b9ba"
},
"npm_packages": [
{ "name": "gulp" },
{ "name": "yarn" },
{ "name": "phantomjs" }
]
}
}
Expected Result:
install ok
Actual Result:
Error executing action run
on resource 'execute[install NPM package gulp]'
765: unexpected token at ''
gokhanakkurt commented
Hey,
How did you handle this problem? I had the same issue too.
github-actions commented
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
jeffbyrnes commented
Node v8 is no longer maintained, closing this out.