###前提・実現したいこと
npm startでExpressを用いてローカルにサーバを立ち上げたい
###発生している問題・エラーメッセージ
$npm start npm ERR! Failed at the myapp@1.0.0 start script 'node lib/server.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the myapp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/server.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs myapp npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls myapp npm ERR! There is likely additional logging output above.
###試したこと
もともとmissing script ’start'とエラーを吐かれたので、https://github.com/npm/npm/issues/16173を参考に、package.jsonにstart部分を追加するも上のエラー表示がでた。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。