cohki0305 / sns-app

2 stars 1 forks source link

インスタ風アプリ #13

Open Tomohiro-Nagahori opened 4 years ago

Tomohiro-Nagahori commented 4 years ago

①環境立ち上げ時にエラーが起きてしまっている。 ②一か所エラーが発生していて、localhostが開けない。 ③ ERROR Failed to compile with 1 errors friendly-errors 09:06:49

ERROR in ./.nuxt/client.js friendly-errors 09:06:49

Module build failed (from ./node_modules/babel-loader/lib/index.js): friendly-errors 09:06:49 Error: [BABEL] C:\Users\Bou-z\Downloads\sns-app-initial\sns-app-initial.nuxt\client.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals' Require stack:

cohki0305 commented 4 years ago

バージョンによるものな気がしますね 🤔

Windowsユーザの方ですかね?

Windowsの開発環境を作ることに関してはサポートできません。

一応、noteに記載されているように僕はWindows全然分からないので、ちゃんとサポートすることができません... とはいえ、できる限りサポートはしたいなと思ってます!

以下の記事を参考にするとよいかもしれないです。 https://qiita.com/oreo3@github/items/b383c57949e0f117cbea

Tomohiro-Nagahori commented 4 years ago

返信ありがとうございます。 npmでインストールする際にこのような忠告がされていたのですが、関係ありますかね?

C:\Users\Bou-z\Downloads\sns-app-initial\sns-app-initial>npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\watchpack\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 1202 packages in 9.94s

36 packages are looking for funding run npm fund for details

found 42 vulnerabilities (38 low, 3 moderate, 1 high) run npm audit fix to fix them, or npm audit for details

Windows 10 版のメールhttps://go.microsoft.com/fwlink/?LinkId=550986から送信

差出人: cohki0305mailto:notifications@github.com 送信日時: 2020年6月25日 11:59 宛先: cohki0305/sns-appmailto:sns-app@noreply.github.com CC: Tomohiro-Nagahorimailto:Bou-zu1997@outlook.jp; Authormailto:author@noreply.github.com 件名: Re: [cohki0305/sns-app] インスタ風アプリ (#13)

バージョンによるものな気がしますね 🤔

Windowsユーザの方ですかね?

Windowsの開発環境を作ることに関してはサポートできません。

一応、noteに記載されているように僕はWindows全然分からないので、ちゃんとサポートすることができません... とはいえ、できる限りサポートはしたいなと思ってます!

以下の記事を参考にするとよいかもしれないです。 https://qiita.com/oreo3@github/items/b383c57949e0f117cbea

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cohki0305/sns-app/issues/13#issuecomment-649184596, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6QZD26HZJMRVRG7BROG23RYK4PRANCNFSM4OHRFIRA.

cohki0305 commented 4 years ago

それmacじゃないとwarning出るやつなのですよ!たぶん関係なさそうです。

僕の環境とバージョン変わってしまうので問題起こるかもしれないですが、一度 package-lock.json に記述されている内容を消してから、npm install し直すとか試してみるのは良いかもなって思いました。

kz422 commented 4 years ago

横から失礼いたします。 ちょうど私も全く同じエラーが発生しており手詰まりだったところです。 (ちなみにMacです)

エラーコードも @Tomohiro-Nagahori さんが記載されているものと一致しております。

package-lock.json に記述されている内容を消してから、npm install し直すとか試してみる

→私の場合は特に効果なしでした。

@Tomohiro-Nagahori さんの立てられたスレッドのため、Chromeに表示されているエラー等の記載は今の時点では割愛しますが、新規で質問を立てた方が良いか、こちらへ書き込みを行った方が良いかご指示いただけると幸いです。

cohki0305 commented 4 years ago

コメントありがとうございます!

ちなみにMacです

OSは関係なさそうですね! ちょっと今時間がないので後ほどちゃんと調べてみますね。ありがとうございます!

こちらへ書き込みを行った方が良いかご指示いただけると幸いです。

こちらのままでOKです!

cohki0305 commented 4 years ago

この記事が参考になりそうです! package-lock.json を消して、node_modules を削除して再度インストールするという感じです。 https://qiita.com/simochee/items/388f9ed631c533401b4f

kz422 commented 4 years ago

私の環境では該当の記事でいけました! この記事も見ていたはずなのですが、まだまだですね。。 ご確認ありがとうございました!

cohki0305 commented 4 years ago

おお、よかったです!! 解決できて何よりです!