vscode遇到的常见问题


1、Syntax Error: TypeError: token.type.endsWith is not a function

解决方法:

    1. 直接把 babel-eslint 降级, 写死为 ^ 8.2.2
    2.  删除 node_modules
    3. 重新下载依赖

2、Unexpected trailing comma (comma-dangle)

解决方法:

 

 

3、Install fail! Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] Run "C:\WINDOWS\system32\cmd.exe /d /s /c git clone https://github.com/nhn/raphael.git F:\2down\zx-fore-1228\node_modules\.tmp\eb28315b-8e99-40b4-b4eb-4or, exit code 128fa885214be7" error, exit code 128Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c]

解决方法:npm config set registry http://registry.npmjs.org/

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM