We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to create new plasmo project and install the library and got the error in both cases
npm install plasmo
npx create plasmo ext-name
I run it inside this dev container: https://hub.docker.com/_/microsoft-devcontainers-typescript-node
Latest
No response
node ➜ /workspaces/chrome_extension_boilerplate/tmp (main) $ npm install plasmo npm ERR! code 1 npm ERR! path /workspaces/chrome_extension_boilerplate/tmp/node_modules/@plasmohq/parcel-core/node_modules/@parcel/watcher npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@10.0.1 npm ERR! gyp info using node@20.12.0 | linux | arm64 npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/workspaces/chrome_extension_boilerplate/tmp/node_modules/@plasmohq/parcel-core/node_modules/@parcel/watcher/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/node/.cache/node-gyp/20.12.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/node/.cache/node-gyp/20.12.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/node/.cache/node-gyp/20.12.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/workspaces/chrome_extension_boilerplate/tmp/node_modules/@plasmohq/parcel-core/node_modules/@parcel/watcher', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: binding.gyp not found (cwd: /workspaces/chrome_extension_boilerplate/tmp/node_modules/@plasmohq/parcel-core/node_modules/@parcel/watcher) while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:18) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:518:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) npm ERR! gyp ERR! System Linux 6.6.22-linuxkit npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /workspaces/chrome_extension_boilerplate/tmp/node_modules/@plasmohq/parcel-core/node_modules/@parcel/watcher npm ERR! gyp ERR! node -v v20.12.0 npm ERR! gyp ERR! node-gyp -v v10.0.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/node/.npm/_logs/2024-05-09T18_15_42_955Z-debug-0.log
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
I tried to create new plasmo project and install the library and got the error in both cases
I run it inside this dev container: https://hub.docker.com/_/microsoft-devcontainers-typescript-node
Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Relevant log output
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: