mrsheepuk / docker-protractor

Docker container for running protractor tests, based on https://bitbucket.org/rkrzewski/dockerfile/
45 stars 33 forks source link

Npm version out of date #4

Closed Garbett1 closed 7 years ago

Garbett1 commented 7 years ago

The install script installs an old version of NPM due to the version being stored in the apt repo being old.

This can cause issues with trying to rely of newer features of NPM, such as @ scoping (Such as @Angular or @Types).

I think a solution could be using a a curl script to pull a newer version.

mrsheepuk commented 7 years ago

Great point @Garbett1 , I've added in an "npm install -g npm" step to update to the latest NPM after installing the packaged version, that should address this. Give it a try and let me know if it's resolved the issue for you!

Garbett1 commented 7 years ago

Npm seems to be installing fine, great!

mrsheepuk commented 7 years ago

Great, thanks for confirming.