上記サイトを参考に、
1) wateslideのインストール
2) "ws new node jsproject" でプロジェクトの作成
3) "cd jsproject" と "npm start" の実行
でエラーとなる。
D:\edu\JavaScript>cd jsproject
D:\edu\JavaScript\jsproject>npm start
npm WARN lifecycle The node binary used for scripts is C:\Program Files (x86)\Nodist\bin\node.exe but npm is using C:\Program Files (x86)\Nodist\v-x64\12.18.0\node.exe itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> jsproject@0.0.1 start D:\edu\JavaScript\jsproject
> innocentia run
internal/modules/cjs/loader.js:969
throw err;
^
Error: Cannot find module 'D:\edu\JavaScript\jsproject\node_modules\innocentia\bin\innocentia'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
at Function.Module._load (internal/modules/cjs/loader.js:842:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jsproject@0.0.1 start: `innocentia run`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jsproject@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-07-20T22_38_42_944Z-debug.log
0 件のコメント:
コメントを投稿