前提・実現したいこと
ここに質問の内容を詳しく書いてください。
Tech pitというプログラミング学習サービスでの環境構築中でのエラーです。
『React/ReduxでGoogleカレンダー風カレンダーアプリケーションを作ろう』という教材です。
コマンド一つで必要な依存ライブラリがインストールされるように設定しておいたのであとはコマンドを叩くだけです。プロジェクトのルートディレクトリ($ cd calender-appしてすぐの一番上のディレクトリ)
以上は教材の製作者の分です。
教材は以下のURLの【開発環境をセットアップする】というところになります。
https://www.techpit.jp/courses/718669/lectures/13934633
しかし、開発環境をセットアップを実装中に以下のエラーメッセージが発生しました。
発生している問題・エラーメッセージ
> fsevents@1.2.9 install /Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents > node install node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.9 and node@14.4.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'. gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/yoshidahayata/.nodebrew/node/v14.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Darwin 19.5.0 gyp ERR! command "/Users/yoshidahayata/.nodebrew/node/v14.4.0/bin/node" "/Users/yoshidahayata/.nodebrew/node/v14.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd /Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents gyp ERR! node -v v14.4.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/yoshidahayata/.nodebrew/node/v14.4.0/bin/node /Users/yoshidahayata/.nodebrew/node/v14.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64 --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) node-pre-gyp ERR! System Darwin 19.5.0 node-pre-gyp ERR! command "/Users/yoshidahayata/.nodebrew/node/v14.4.0/bin/node" "/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents node-pre-gyp ERR! node -v v14.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.12.0 node-pre-gyp ERR! not ok Failed to execute '/Users/yoshidahayata/.nodebrew/node/v14.4.0/bin/node /Users/yoshidahayata/.nodebrew/node/v14.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/Users/yoshidahayata/projects/react/calender-app/front/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64 --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN calender@1.0.0 No description npm WARN calender@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 install: `node install` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 audited 604 packages in 6.588s found 366 vulnerabilities (364 low, 2 moderate) run `npm audit fix` to fix them, or `npm audit` for details
試したこと
$ npm --prefix ./front install ./front
$ npm --cwd ./front run build
$ npm --prefix ./server install ./server
補足情報(FW/ツールのバージョンなど)
$ node -v
v14.4.0
$ brew --version
Homebrew 2.4.3
Homebrew/homebrew-core (git revision bc53d; last commit 2020-07-05)
Homebrew/homebrew-cask (git revision 9bd8c; last commit 2020-07-05)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/07/05 16:12