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

Install Error #6

Open
PatrickDuncan opened this issue Mar 19, 2019 · 0 comments
Open

Install Error #6

PatrickDuncan opened this issue Mar 19, 2019 · 0 comments

Comments

@PatrickDuncan
Copy link

Hello, I used npm install -g webassembly-binary-toolkit and ran into an error.
I have git, cmake and make installed.
The log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'webassembly-binary-toolkit' ]
2 info using npm@6.4.1
3 info using node@v10.15.1
4 verbose npm-session 1cdcc9eb75221e40
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/webassembly-binary-toolkit 579ms (from cache)
8 silly pacote tag manifest for webassembly-binary-toolkit@latest fetched in 599ms
9 timing stage:loadCurrentTree Completed in 818ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule webassembly-binary-toolkit@2.0.0 checking installable status
17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 6ms
18 timing stage:loadIdealTree Completed in 9ms
19 silly currentTree lib
20 silly idealTree lib
20 silly idealTree └── webassembly-binary-toolkit@2.0.0
21 silly install generateActionsToTake
22 timing stage:generateActionsToTake Completed in 4ms
23 silly diffTrees action count 1
24 silly diffTrees add webassembly-binary-toolkit@2.0.0
25 silly decomposeActions action count 8
26 silly decomposeActions fetch webassembly-binary-toolkit@2.0.0
27 silly decomposeActions extract webassembly-binary-toolkit@2.0.0
28 silly decomposeActions preinstall webassembly-binary-toolkit@2.0.0
29 silly decomposeActions build webassembly-binary-toolkit@2.0.0
30 silly decomposeActions install webassembly-binary-toolkit@2.0.0
31 silly decomposeActions postinstall webassembly-binary-toolkit@2.0.0
32 silly decomposeActions finalize webassembly-binary-toolkit@2.0.0
33 silly decomposeActions refresh-package-json webassembly-binary-toolkit@2.0.0
34 silly install executeActions
35 silly doSerial global-install 8
36 verbose correctMkdir /Users/patrick/.cache/npm/_locks correctMkdir not in flight; initializing
37 verbose lock using /Users/patrick/.cache/npm/_locks/staging-97d63bcc10bf2b16.lock for /Users/patrick/.local/lib/node_modules/.staging
38 silly doParallel extract 1
39 silly extract webassembly-binary-toolkit@2.0.0
40 timing action:extract Completed in 343ms
41 silly doReverseSerial unbuild 8
42 silly doSerial remove 8
43 silly doSerial move 8
44 silly doSerial finalize 8
45 silly finalize /Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit
46 timing action:finalize Completed in 5ms
47 silly doParallel refresh-package-json 1
48 silly refresh-package-json /Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit
49 timing action:refresh-package-json Completed in 13ms
50 silly doParallel preinstall 1
51 silly preinstall webassembly-binary-toolkit@2.0.0
52 info lifecycle webassembly-binary-toolkit@2.0.0~preinstall: webassembly-binary-toolkit@2.0.0
53 verbose lifecycle webassembly-binary-toolkit@2.0.0~preinstall: unsafe-perm in lifecycle true
54 verbose lifecycle webassembly-binary-toolkit@2.0.0~preinstall: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit/node_modules/.bin:/Users/patrick/.local/lib/node_modules/.bin:/usr/local/opt/openssl/bin:/usr/local/texlive/2018basic/bin/x86_64-darwin/:/Users/patrick/bin:/Users/patrick/Library/Android/sdk/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin:/Users/patrick/.local/bin:/Users/patrick/Library/Android/sdk/platform-tools:/Users/Shared/bash_shell/general:/usr/local/opt/openssl/bin:/usr/local/texlive/2018basic/bin/x86_64-darwin/:/Users/patrick/bin:/Users/patrick/Library/Android/sdk/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin:/Users/patrick/.local/bin:/Users/patrick/Library/Android/sdk/platform-tools:/Users/Shared/bash_shell/general:/anaconda3/bin:/usr/local/opt/openssl/bin:/usr/local/texlive/2018basic/bin/x86_64-darwin/:/Users/patrick/bin:/Users/patrick/Library/Android/sdk/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin:/Users/patrick/.local/bin:/Users/patrick/Library/Android/sdk/platform-tools:/Users/Shared/bash_shell/general:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS
55 verbose lifecycle webassembly-binary-toolkit@2.0.0~preinstall: CWD: /Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit
56 silly lifecycle webassembly-binary-toolkit@2.0.0~preinstall: Args: [ '-c', './install.sh' ]
57 silly lifecycle webassembly-binary-toolkit@2.0.0~preinstall: Returned: code: 0  signal: null
58 timing action:preinstall Completed in 418182ms
59 silly doSerial build 8
60 silly build webassembly-binary-toolkit@2.0.0
61 info linkStuff webassembly-binary-toolkit@2.0.0
62 silly linkStuff webassembly-binary-toolkit@2.0.0 has /Users/patrick/.local/lib/node_modules as its parent node_modules
63 silly linkStuff webassembly-binary-toolkit@2.0.0 is part of a global install
64 silly linkStuff webassembly-binary-toolkit@2.0.0 is installed into a global node_modules
65 silly linkStuff webassembly-binary-toolkit@2.0.0 is installed into the top-level global node_modules
66 verbose linkBins [ { wat2wasm: 'wabt/bin/wat2wasm',
66 verbose linkBins     wasm2wat: 'wabt/bin/wasm2wat',
66 verbose linkBins     'wasm-objdump': 'wabt/bin/wasm-objdump',
66 verbose linkBins     'wasm-interp': 'wabt/bin/wasm-interp',
66 verbose linkBins     'wat-desugar': 'wabt/bin/wat-desugar',
66 verbose linkBins     'wasm-link': 'wabt/bin/wasm-link',
66 verbose linkBins     'wasm-shell': 'binaryen/bin/wasm-shell',
66 verbose linkBins     'wasm-as': 'binaryen/bin/wasm-as',
66 verbose linkBins     'wasm-dis': 'binaryen/bin/wasm-dis',
66 verbose linkBins     'wasm-opt': 'binaryen/bin/wasm-opt',
66 verbose linkBins     asm2wasm: 'binaryen/bin/asm2wasm',
66 verbose linkBins     s2wasm: 'binaryen/bin/s2wasm' },
66 verbose linkBins   '/Users/patrick/.local/bin',
66 verbose linkBins   true ]
67 timing action:build Completed in 5ms
68 verbose unlock done using /Users/patrick/.cache/npm/_locks/staging-97d63bcc10bf2b16.lock for /Users/patrick/.local/lib/node_modules/.staging
69 timing stage:rollbackFailedOptional Completed in 603ms
70 timing stage:runTopLevelLifecycles Completed in 419994ms
71 verbose stack Error: ENOENT: no such file or directory, chmod '/Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit/wabt/bin/wat2wasm'
72 verbose cwd /Users/patrick/dev/4tb3
73 verbose Darwin 18.2.0
74 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "webassembly-binary-toolkit"
75 verbose node v10.15.1
76 verbose npm  v6.4.1
77 error path /Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit/wabt/bin/wat2wasm
78 error code ENOENT
79 error errno -2
80 error syscall chmod
81 error enoent ENOENT: no such file or directory, chmod '/Users/patrick/.local/lib/node_modules/webassembly-binary-toolkit/wabt/bin/wat2wasm'
82 error enoent This is related to npm not being able to find a file.
83 verbose exit [ -2, true ]
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