Closed xieyezi closed 6 months ago
I have confirmed that I have executed commands like "rm -rf node_modules," "yarn cache clean," deleted "yarn.lock," and re-executed "yarn install," but I still encounter this issue.
xcode-select: note: No developer tools were found, requesting install.
Install them as discussed in README.md.
I have already solved this issue, but I am not sure exactly how I did it. Here are the steps I took:
Step 5 was the key.
Node Version: v18.19.1
Platform: Model Name: MacBook Air Model Identifier: Mac14,15 Chip: Apple M2 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 24 GB System Firmware Version: 10151.1.1 OS Loader Version: 10151.1.1
Compiler: xcode-select: note: No developer tools were found, requesting install.
Module:
Verbose output (from npm or node-gyp):
``` (base) ➜ pietra-landing-pages git:(master) yarn yarn install v1.22.21 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... warning " > react-fade-in@2.0.1" has incorrect peer dependency "react@^16.8 || 17". warning " > redux-persist@6.0.0" has unmet peer dependency "redux@>4.0.0". warning " > slick-carousel@1.8.1" has unmet peer dependency "jquery@>=1.8.0". warning " > @graphql-codegen/typescript-react-apollo@4.3.0" has unmet peer dependency "graphql-tag@^2.0.0". warning "graphql-cli > graphql-config@3.0.3" has incorrect peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0". warning "graphql-cli > @graphql-cli/common > @graphql-tools/load@6.2.4" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/graphql-file-loader@6.2.7" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/json-file-loader@6.2.6" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/load@6.2.8" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/merge@6.2.17" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/url-loader@6.10.1" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/utils@6.2.4" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/graphql-file-loader > @graphql-tools/utils@7.10.0" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/merge > @graphql-tools/utils@8.0.2" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/url-loader > @graphql-tools/delegate@7.1.5" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/url-loader > @graphql-tools/wrap@7.0.8" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/url-loader > graphql-ws@4.9.0" has incorrect peer dependency "graphql@>=0.11 <=15". warning "graphql-cli > graphql-config > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/batch-execute@7.1.2" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning "graphql-cli > graphql-config > @graphql-tools/url-loader > @graphql-tools/delegate > @graphql-tools/schema@7.1.5" has incorrect peer dependency "graphql@^14.0.0 || ^15.0.0". warning " > less-loader@11.1.3" has unmet peer dependency "webpack@^5.0.0". [4/4] 🔨 Building fresh packages... [1/2] ⠂ isolated-vm error /Users/xieyezi/parsec/piretra/pietra-landing-pages/node_modules/isolated-vm: Command failed. Exit code: 1 Command: prebuild-install || (node-gyp rebuild --release -j max && node-gyp clean) Arguments: Directory: /Users/xieyezi/parsec/piretra/pietra-landing-pages/node_modules/isolated-vm Output: prebuild-install warn install No prebuilt binaries found (target=18.19.1 runtime=node arch=arm64 libc= platform=darwin) gyp info it worked if it ends with ok gyp info using node-gyp@10.0.1 gyp info using node@18.19.1 | darwin | arm64 gyp info find Python using Python version 3.12.2 found at "/opt/homebrew/opt/python@3.12/bin/python3.12" gyp info spawn /opt/homebrew/opt/python@3.12/bin/python3.12 gyp info spawn args [ gyp info spawn args '/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/xieyezi/parsec/piretra/pietra-landing-pages/node_modules/isolated-vm/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/xieyezi/Library/Caches/node-gyp/18.19.1/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/xieyezi/Library/Caches/node-gyp/18.19.1', gyp info spawn args '-Dnode_gyp_dir=/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/xieyezi/Library/Caches/node-gyp/18.19.1/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/xieyezi/parsec/piretra/pietra-landing-pages/node_modules/isolated-vm', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] 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 '/'. Traceback (most recent call last): File "/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1496, in XcodeVersion version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1557, in GetStdoutQuiet raise GypError("Error %d running %s" % (job.returncode, cmdlist[0])) gyp.common.GypError: Error 1 running xcodebuild During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/xieyezi/Library/Application Support/fnm/node-versions/v18.19.1/installation/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 45, in