npm ERR! Unexpected token in JSON at position 0 while parsing near '<HTML>
npm ERR! <!--////////...'
網上共檢索出兩種方法, 但是都not work for me.
我想你們也已經試過了。
1 . rm -f package-lock.json
2. npm cache clean --force
第三種 我嘗試 成功的辦法, 如下 。
npm config rm proxy
npm config rm https-proxy
雖然 我並沒有設置過 代理,但 就這樣解決了。