如何解决尝试重新安装版本的节点时,为什么我的终端机会乱七八糟?
我最近尝试使用nvm uninstall 13.13.0
来卸载节点版本(13.13.0),因为它导致我尝试使用的应用程序出错。现在,我尝试重新安装它,并收到以下错误。有想法该怎么解决这个吗? (我在macOS上)
谢谢! :)
You need to run "nvm install 13.13.0" to install it before using it.
~/rn-starter // ♥ > nvm install 13.13.0
Downloading and installing node v13.13.0...
Local cache found: ${NVM_DIR}/.cache/bin/node-v13.13.0-darwin-x64/node-v13.13.0-darwin-x64.tar.gz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/bin/node-v13.13.0-darwin-x64/node-v13.13.0-darwin-x64.tar.gz
mv: rename /Users/colton/.nvm/.cache/bin/node-v13.13.0-darwin-x64/files/bin to /Users/colton/.nvm/versions/node/v13.13.0/bin: Directory not empty
mv: rename /Users/colton/.nvm/.cache/bin/node-v13.13.0-darwin-x64/files/include to /Users/colton/.nvm/versions/node/v13.13.0/include: Directory not empty
mv: rename /Users/colton/.nvm/.cache/bin/node-v13.13.0-darwin-x64/files/lib to /Users/colton/.nvm/versions/node/v13.13.0/lib: Directory not empty
mv: rename /Users/colton/.nvm/.cache/bin/node-v13.13.0-darwin-x64/files/share to /Users/colton/.nvm/versions/node/v13.13.0/share: Directory not empty
Binary download failed,trying source.
Clang v3.5+ detected! CC or CXX not specified,will use Clang as C/C++ compiler!
Local cache found: ${NVM_DIR}/.cache/src/node-v13.13.0/node-v13.13.0.tar.gz
Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/src/node-v13.13.0/node-v13.13.0.tar.gz
$>./configure --prefix=/Users/colton/.nvm/versions/node/v13.13.0 <
Node.js configure: Found Python 2.7.16...
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!
Error running GYP
nvm: install v13.13.0 failed!
编辑:
试图卸载并重新安装Xcode,它摆脱了错误。但是现在当我运行nvm install 13.13.0
时,我的命令行绝对变得疯狂,并且没有停止。看起来是这样的:
c++ -o /Users/colton/.nvm/.cache/src/node-v13.13.0/files/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/property-access-builder.o ../deps/v8/src/compiler/property-access-builder.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.30"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_EMBEDDED_BUILTINS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/v8 -I../deps/v8/include -I/Users/colton/.nvm/.cache/src/node-v13.13.0/files/out/Release/obj/gen/generate-bytecode-output-root -I/Users/colton/.nvm/.cache/src/node-v13.13.0/files/out/Release/obj/gen/torque-output-root -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -O3 -gdwarf-2 -fstrict-aliasing -mmacosx-version-min=10.10 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF /Users/colton/.nvm/.cache/src/node-v13.13.0/files/out/Release/.deps//Users/colton/.nvm/.cache/src/node-v13.13.0/files/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/property-access-builder.o.d.raw -c
但它会不断重复类似外观的事情。等待了5分钟以上,它继续运行,我的电脑开始过热。
谢谢!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。