Skip to content
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

Cannot install #13

Open
ntucker opened this issue Apr 19, 2020 · 0 comments
Open

Cannot install #13

ntucker opened this issue Apr 19, 2020 · 0 comments

Comments

@ntucker
Copy link

ntucker commented Apr 19, 2020

yarn add cpuprofile-webpack-plugin

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 [email protected]
gyp info using [email protected] | 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 "<string>", 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 <module>
gyp ERR! stack     from apport.report import Report
gyp ERR! stack   File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
gyp ERR! stack     import apport.fileutils
gyp ERR! stack   File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
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 <module>
gyp ERR! stack     import apt
gyp ERR! stack   File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
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 "<string>", 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```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant