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