Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CircleCI use node@8 and npm @5 #1798

Closed
etpinard opened this issue Jun 19, 2017 · 11 comments · Fixed by #2323
Closed

Make CircleCI use node@8 and npm @5 #1798

etpinard opened this issue Jun 19, 2017 · 11 comments · Fixed by #2323
Assignees

Comments

@etpinard
Copy link
Contributor

etpinard commented Jun 19, 2017

Both set to become LTS, now available on CircleCI - see https://circleci.com/blog/npm5-and-nodejs8/

@etpinard
Copy link
Contributor Author

Actually, node@8 (with npm@5) isn't available on CircleCI's preinstalled images yet. See

https://circleci.com/docs/1.0/build-image-trusty/#nodejs

for most up-to-date list.

@etpinard
Copy link
Contributor Author

While doing this, it might be worth migrating to CircleCI 2.0:

https://circleci.com/docs/2.0/migrating-from-1-2/

@etpinard
Copy link
Contributor Author

@bpostlethwaite
Copy link
Member

fyi node-usb/node-usb#193 (comment)
and I'm seeing these errors building plotly.js

 npm install
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/mapbox/mapbox-gl-shaders.git /root/.npm/_cacache/tmp/git-clone-d8de79a2
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-d8de79a2': Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-08-29T20_24_01_459Z-debug.log
root@stage-streambed-fl6p:/var/www/streambed# rm -r /root/.npm
root@stage-streambed-fl6p:/var/www/streambed# npm install
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/mapbox/mapbox-gl-shaders.git /root/.npm/_cacache/tmp/git-clone-146d42f8
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-146d42f8': Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-08-29T20_24_15_797Z-debug.log

@bpostlethwaite
Copy link
Member

bpostlethwaite commented Aug 29, 2017

sorry npm issue link here: npm/npm#16898

@etpinard
Copy link
Contributor Author

#1745 (comment)

Bumping to [email protected] should solve this.

@bpostlethwaite
Copy link
Member

root@stage-streambed-fl6p:/var/www/streambed# npm --version
5.3.0

@bpostlethwaite
Copy link
Member

tried obliterating /root/.npm but having the same error. Will post here once I find some workaround

@etpinard
Copy link
Contributor Author

Some preliminary work on branch:

https://github.com/plotly/plotly.js/compare/circle2

Docker handlers have change significantly from Circle 1 to 2.0, so I think I'll wait for #1972 to be completed before giving this another shot.

@etpinard
Copy link
Contributor Author

etpinard commented Nov 1, 2017

Ping. Node 8.x is now LTS.

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

Successfully merging a pull request may close this issue.

2 participants