# Error on npm install

**URL:** <https://community.plotly.com/t/error-on-npm-install/7228>\
**Category:** plotly.js\
**Created:** [December 8, 2017, 8:20pm UTC](https://community.plotly.com/t/error-on-npm-install/7228 "2017-12-08T20:20:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrunks](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mrunks](https://community.plotly.com/u/mrunks)\
**Post date:** [December 8, 2017, 8:20pm UTC](https://community.plotly.com/t/error-on-npm-install/7228/1 "2017-12-08T20:20:49Z")

</div>

I receive the following warnings and errors when trying to run NPM install.

npm WARN deprecated husl@5.0.3: Project renamed to HSLuv  
npm WARN deprecated feature-filter@2.2.0: This package has been merged into the ‘mapbox-gl-style-spec’ package  
npm WARN deprecated mapbox-gl-function@1.3.0: This package has been merged with the ‘mapbox-gl-style-spec’ package  
npm WARN deprecated point-geometry@0.0.0: This module has moved: please install @mapbox/point-geometry instead  
npm WARN deprecated shelf-pack@1.1.0: This module is now under the @mapbox namespace: install @mapbox/shelf-pack instead  
npm WARN deprecated vector-tile@1.3.0: This module has moved: please install @mapbox/vector-tile instead  
npm WARN deprecated unitbezier@0.0.0: This module has moved: switch to @mapbox/unitbezier  
npm WARN deprecated whoots-js@2.1.0: This module is now under the @mapbox namespace: install @mapbox/whoots-js instead  
npm WARN deprecated geojson-area@0.1.0: This module is now under the @mapbox namespace: install @mapbox/geojson-area instead

C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/mapbox/mapbox-gl-style-spec.git  
error ssh: connect to host [github.com](http://github.com) port 22: Connection timed out  
error fatal: Could not read from remote repository.  
error  
error Please make sure you have the correct access rights  
error and the repository exists.  
error  
error exited with error code: 128  
verbose exit [1, true]

Anyone else have this problem ?

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [December 11, 2017, 3:04pm UTC](https://community.plotly.com/t/error-on-npm-install/7228/2 "2017-12-11T15:04:51Z")

</div>

What version of npm are you using?

---

<div class="post-metadata">

**Author:** ![mrunks](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mrunks](https://community.plotly.com/u/mrunks)\
**Post date:** [December 11, 2017, 9:40pm UTC](https://community.plotly.com/t/error-on-npm-install/7228/3 "2017-12-11T21:40:31Z")

</div>

> [@etienne](#):
>
> What version of npm

Node JS 8.9.3  
NPM 5.5.1

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [December 11, 2017, 9:56pm UTC](https://community.plotly.com/t/error-on-npm-install/7228/4 "2017-12-11T21:56:05Z")

</div>

You might want to lookup [https://github.com/plotly/plotly.js/issues/2104](https://github.com/plotly/plotly.js/issues/2104) for possible workarounds.

---

<div class="post-metadata">

**Author:** ![RachelGomez161999](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RachelGomez161999](https://community.plotly.com/u/RachelGomez161999)\
**Post date:** [January 9, 2023, 9:01am UTC](https://community.plotly.com/t/error-on-npm-install/7228/5 "2023-01-09T09:01:01Z")

</div>

If you install the package but you still get the error, then follow the steps below:  
delete the node modules folder by running rm -rf node\_modules.  
delete package. lock. json file by running rm -f package-lock.  
clean up the NPM cache by running npm cache clean --force.  
install all packages again by running npm install.

Regards,  
Rachel Gomez
