I have been following a Rust + WebAssembly Tutorial and on the 2nd part of the 2nd chapter, after looking into the files and telling you how to build them, the tutorial asks you to run this command: npm init wasm-app www
. Running this, even after I have gone back and redone all the steps twice, resulted in this error: Npm Error Could not find executable to run
The build completed with no errors or irregularities.
Feel welcome to ask any questions you may have about the problem
0 verbose cli C:UsersNameAppDataLocalfnm_multishells28000_1721347052931node.exe C:UsersNameAppDataLocalfnm_multishells28000_1721347052931node_modulesnpmbinnpm-cli.js
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmnpmrc
4 silly config load:file:C:UsersNameRustroverProjectswasm-game-of-life.npmrc
5 silly config load:file:C:UsersName.npmrc
6 silly config load:file:C:UsersNameAppDataLocalfnm_multishells28000_1721347052931etcnpmrc
7 verbose title npm init wasm-app www
8 verbose argv "init" "wasm-app" "www"
9 verbose logfile logs-max:10 dir:C:UsersNameAppDataLocalnpm-cache_logs2024-07-18T23_58_08_742Z-
10 verbose logfile C:UsersNameAppDataLocalnpm-cache_logs2024-07-18T23_58_08_742Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
14 http fetch GET 200 https://registry.npmjs.org/create-wasm-app 361ms (cache revalidated)
15 verbose stack Error: could not determine executable to run
15 verbose stack at getBinFromManifest (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmnode_moduleslibnpmexeclibget-bin-from-manifest.js:17:23)
15 verbose stack at exec (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmnode_moduleslibnpmexeclibindex.js:198:15)
15 verbose stack at async Init.execCreate (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmlibcommandsinit.js:136:5)
15 verbose stack at async Init.exec (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmlibcommandsinit.js:44:14)
15 verbose stack at async Npm.exec (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmlibnpm.js:207:9)
15 verbose stack at async module.exports (C:UsersNameAppDataRoamingfnmnode-versionsv22.4.1installationnode_modulesnpmlibclientry.js:74:5)
16 verbose pkgid [email protected]
17 error could not determine executable to run
18 verbose cwd C:UsersNameRustroverProjectswasm-game-of-life
19 verbose os Windows_NT 10.0.22631
20 verbose node v22.4.1
21 verbose npm v10.8.1
22 verbose exit 1
23 verbose code 1
24 error A complete log of this run can be found in: C:UsersNameAppDataLocalnpm-cache_logs2024-07-18T23_58_08_742Z-debug-0.log
Waffleleroo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1