作者:
ReadSnow (AnnyCat)
2022-02-03 14:22:01按照這個影片安裝json sever時,出現了一些安裝錯誤,請問這個要怎麼解決呢?
https://youtu.be/R8GL5y49iJc?t=1229
PS E:\visualweb\git-repos\web-05> npm install -g json-server
C:\Program Files\nodejs\json-server -> C:\Program
Files\nodejs\node_modules\json-server\lib\cli\bin.js
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^10 ||
^12 || ^13.7 || ^14
|| >=15.0.1"} (current: {"node":"13.6.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
+ json-se[email protected]
不知道是不是又win7的問題,更之前也是安裝最新node無法使用,找好久才找到是
版本問題。
作者:
LPH66 (-6.2598534e+18f)
2022-02-04 19:07:00你的 node 版本是 13.6.0, 該套件要求若 node 是 13 版要.7然後, 最新的 node 並不是 13 版喔, 現在的 LTS 是 16.13.2