New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command failed with exit code 1. on Yarn run #1
Comments
@lloydrayner I double checked the steps and did find a typo in step #6. Please take a look and see if it fix the issue. |
@zenetio Hi, I'm facing the same issue but in nsfw. I tried your latest instructions with the typo corrected.
|
I found a reference to the flag in prebuild/prebuildify#10 but I don't know which is the exact ./configure command is to pass this flag. |
@botmayank Hi, I am not sure what you did but it seems that you executed the yarn command more than once and, as what I can see, the first time it worked. Have you tried to execute the step #8? |
Step #8 gives this:
Also, in my previous logs, I ran yarn only once , the other $yarn's that you see are printed automatically and it still fails with the same log. |
@botmayank Have you fixed the issue? I just installed VS Code in TX2 board and in my Ubuntu laptop using this same process. |
Hi,
Im running on the TX2 and get an error at the '7. Install dependencies using yarn tool' section.
Any help you can provide would be greatly appreciated.
Thank you
warning package.json: No license field
warning vscode-reh@0.0.0: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info vscode-fsevents@1.2.12: The platform "linux" is incompatible with this module.
info "vscode-fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
info vscode-windows-ca-certs@0.1.0: The platform "linux" is incompatible with this module.
info "vscode-windows-ca-certs@0.1.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info vscode-windows-registry@1.0.1: The platform "linux" is incompatible with this module.
info "vscode-windows-registry@1.0.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @microsoft/applicationinsights-web@2.1.1" has unmet peer dependency "tslib@^1.9.3".
[4/4] Building fresh packages...
[1/6] ⠈ native-watchdog
[2/6] ⠈ node-pty
[3/6] ⠈ nsfw
[4/6] ⠈ spdlog
error /home/nvidia/vscode/remote/node_modules/spdlog: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/nvidia/vscode/remote/node_modules/spdlog
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@8.16.1 | linux | arm64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/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 '/home/nvidia/vscode/remote/node_modules/spdlog/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/nvidia/.node-gyp/10.11.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/nvidia/.node-gyp/10.11.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/nvidia/.node-gyp/10.11.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/nvidia/vscode/remote/node_modules/spdlog',
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: name 'build_v8_with_gn' is not defined while evaluating condition 'build_v8_with_gn == "true"' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.4.38-tegra
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nvidia/vscode/remote/node_modules/spdlog
gyp ERR! node -v v8.16.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The text was updated successfully, but these errors were encountered: