mapbox-gl-js version:
master branch
browser:
none of browser issue
when npm install:
53292 warn [email protected] requires a peer of rollup@< 0.59.0 but none is installed. You must install peer dependencies yourself.
53293 warn [email protected] requires a peer of rollup@^0.56.2 but none is installed. You must install peer dependencies yourself.
so I tried changing version of rollup to "rollup": "^0.56.2", and again npm install:
1776 warn [email protected] requires a peer of rollup@>=0.66.0 <1 but none is installed. You must install peer dependencies yourself.
what would I do?
Error starts with:
53316 error code ELIFECYCLE
53317 error errno 1
53318 error [email protected] install: `prebuild-install || node-gyp rebuild`
53318 error Exit status 1
53319 error Failed at the [email protected] install script.
Let's track this in the headless-gl repo from which the error originates.
Finally I found a solution.
For others who gets the same error:
npm install --global windows-build-toolscommon.gypi placed on C:\Users\{username}\.node-gyp\{version}\include\node'/LTCG:INCREMENTAL' and remove it.yarn install again.Referenced:
ps. I'm not sure about the side-effect of removing 'LTCG:INCREMENTAL' but install & build works.
Most helpful comment
Finally I found a solution.
For others who gets the same error:
npm install --global windows-build-toolscommon.gypiplaced onC:\Users\{username}\.node-gyp\{version}\include\node'/LTCG:INCREMENTAL'and remove it.yarn installagain.Referenced:
ps. I'm not sure about the side-effect of removing
'LTCG:INCREMENTAL'but install & build works.