admin管理员组文章数量:1123060
Anyone's help appreciated on this. I've already had four front end developers trying to work this one out. No joy.
I have an environment set up, highly adapted from this one:
When I run npm install I'm always getting this error(s) in the console:
Using Windows 11 Enterprise.
I've been trying this for 3 days, with no luck. Scoured all Stacks + tried most of the suggestions.
Any help much appreciated, thanks.
I've tried the following:
- Manually installing different versions of 'sharp'
- Changing Node versions (down + up) using NVM command
- Deleting node-modules folder + deleting packagelock file (if it appears)
- Changing Python versions (down + up) using pythenv command
- Clearing NPM cache: npm cache clean --force
Current version of node is: v16.15.1, NPM = 8.11.0, Python = 2.7.18
I would expect now errors + when I run npm run dev it should start.
I have this set up running on another laptop using this: Node = 11.15.0, NPM = 6.7.0, Python = 2.7.18
本文标签: pythonnpminstall errornpm ERR code 1Node Modules Sharp failedStack Overflow
版权声明:本文标题:python - npm-install error - npm ERR! code 1 - Node Modules Sharp failed - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736545318a1944438.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论