jantimon / jantimon/cpuprofile-webpack-plugin
Cannot install
- Dominant language
- TypeScript
- Stars
- 156
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
yarn add cpuprofile-webpack-plugin
```error /mnt/e/Webdesign/salted-vagrant/anansi/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: /mnt/e/Webdesign/salted-vagrant/anansi/node_modules/deasync
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@12.16.0 | linux | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack Error in sys.excepthook:
gyp ERR! stack Traceback (most recent call last):
gyp ERR! stack File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
gyp ERR! stack from apport.fileutils import likely_packaged, get_recent_crashes
gyp ERR! stack File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
gyp ERR! stack from apport.report import Report
gyp ERR! stack File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in
gyp ERR! stack import apport.fileutils
gyp ERR! stack File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in
gyp ERR! stack from apport.packaging_impl import impl as packaging
gyp ERR! stack File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in
gyp ERR! stack import apt
gyp ERR! stack File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in
gyp ERR! stack import apt_pkg
gyp ERR! stack ModuleNotFoundError: No module named 'apt_pkg'
gyp ERR! stack
gyp ERR! stack Original exception was:
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:303:12)
gyp ERR! stack at ChildProcess.emit (events.js:321:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
gyp ERR! System Linux 4.4.0-18362-Microsoft
gyp ERR! command "/home/ntucker/.nvm/versions/node/v12.16.0/bin/node" "/mnt/e/Webdesign/salted-vagrant/anansi/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /mnt/e/Webdesign/salted-vagrant/anansi/node_modules/deasync
gyp ERR! node -v v12.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `yarn add cpuprofile-webpack-plugin` with Node v12.16.0 on Linux and inspect the `deasync` build output from `node-gyp`. Trace the Python version mismatch shown in the error and verify that installation completes without the reported build failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, python, typescript, webpack
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100