请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

Cannot read properties of undefined (reading 'isServer')

npm install时候出现 Cannot read properties of undefined (reading ‘isServer’) 是什么原因

正在回答 回答被采纳积分+3

1回答

Jokcy 2021-12-08 20:22:32

what?npm install 还会报这种错?你把完整的日志贴上来吧

0 回复 有任何疑惑可以回复我~
  • 提问者 吴_少 #1
    PS D:\MyProject\coding-196> npm i
    npm WARN old lockfile 
    npm WARN old lockfile The package-lock.json file was created with an old version of npm,
    npm WARN old lockfile so supplemental metadata must be fetched from the registry.
    npm WARN old lockfile
    npm WARN old lockfile This is a one-time fix-up, please be patient...
    npm WARN old lockfile
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE   package: 'upath@1.0.0',
    npm WARN EBADENGINE   required: { node: '>=0.10 <=7' },
    npm WARN EBADENGINE   current: { node: 'v16.13.1', npm: '8.1.2' }
    npm WARN EBADENGINE }
    npm WARN deprecated svgo@0.7.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
    npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version.
    npm ERR! Cannot read properties of undefined (reading 'isServer')
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     E:\development_tools\nodejs\node_cache\_logs\2021-12-11T05_51_23_512Z-debug.log
    PS D:\MyProject\coding-196>
    回复 有任何疑惑可以回复我~ 2021-12-11 13:54:25
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号