質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

Q&A

0回答

312閲覧

nodeのno such file or directoryエラー

21212121

総合スコア61

Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

0グッド

0クリップ

投稿2020/04/26 03:11

現在オンラインハッカソンに参加しており、コードを乗せることができませんのであらかじめご了承ください。
Error: ENOENT: no such file or directory, open '/Users/yokohamakaito/web-speed-hackathon-online-202004/dist/index.html'
at Object.openSync (fs.js:457:3)
at Object.readFileSync (fs.js:359:35)
at /Users/yokohamakaito/web-speed-hackathon-online-202004/lib/controller/spa.js:8:21
at Layer.handle [as handle_request] (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/layer.js:95:5)
at /Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/index.js:281:22
at param (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/index.js:354:14)
at param (/Users/yokohamakaito/web-speed-hackathon-online-202004/node_modules/express/lib/router/index.js:365:14)

yarn の問題かと思い、yarn cleanをしましたがうまくいきませんでした。
ご教授いただければ幸いです。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

technocore

2020/04/26 03:16

Error: ENOENT: no such file or directory, open '/Users/yokohamakaito/web-speed-hackathon-online-202004/dist/index.html' ファイルが見つかりません、というエラーです。
21212121

2020/04/26 03:26

ありがとうございます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問