Heim  >  Fragen und Antworten  >  Hauptteil

Ich kann NPM nicht im Terminal starten

Immer wenn ich im Terminal einen Befehl zum Starten von NPM ausführe, erhalte ich die folgende Fehlermeldung:

npm ERR!
npm ERR! Did you mean one of these?
npm ERR!     npm star # Mark your favorite packages
npm ERR!     npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\SB\AppData\Local\npm-cache\_logs23-07-10T09_55_32_164Z-debug-0.log
PS C:\Users\SB\Desktop\react>

P粉715304239P粉715304239172 Tage vor257

Antworte allen(1)Ich werde antworten

  • P粉495955986

    P粉4959559862024-04-02 09:37:58

    将启动命令添加到包中的脚本对象中。创建 json 文件并在项目根目录中打开 shell 或 IDE,然后运行 ​​npm start 命令。

    Antwort
    0
  • StornierenAntwort