1、Syntax Error: TypeError: token.type.endsWith is not a function
解決方法:
-
直接把 babel-eslint 降級, 寫死為 ^ 8.2.2
-
刪除 node_modules
- 重新下載依賴
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/