forked from pattern-lab/patternlab-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Windows Issues
Brian Muenzenmeyer edited this page Aug 22, 2016
·
5 revisions
While Node is cross-platform, that doesn't mean there are not quirks across systems.
such as...
npm ERR! Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
Please first check your version of node and look into whether or not you can upgrade.
node -v
- I've confirmed
v0.14.0
and lower of patternlab node to work with Node 0.12.X and lower. - I've confirmed
v0.15.0
and above of patternlab node to work with Node 4.X and 5.X
Check out this great Windows troublshooting, you are not alone.
Windows Server / TeamCity and perhaps other build systems depending on your network infrastructure, might have trouble directly connecting via git://
protocol to github for non-npm'd dependencies like Gulp 4.
Follow these instructions to force git to use https://
instead: http://stackoverflow.com/questions/33571039/teamcity-fails-to-run-npm-install-on-windowsserver/35627944
for example, changing your package.json
dependency for Gulp 4 from (the shorthand github version which usually works):
"gulp": "gulpjs/gulp#4.0",
to
gulp: git+https://github.com/gulpjs/gulp.git#4.0