Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created September 10, 2021 20:19
Show Gist options
  • Save jcrossley3/405a68bba34494af8b1c8ad2c367c2ac to your computer and use it in GitHub Desktop.
Save jcrossley3/405a68bba34494af8b1c8ad2c367c2ac to your computer and use it in GitHub Desktop.
[jim@localhost reqwest-wasm-example]$ npm install
npm WARN reqwest-wasm-example No repository field.
npm WARN reqwest-wasm-example No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 712 packages in 2.838s
57 packages are looking for funding
run `npm fund` for details
found 5 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
[jim@localhost reqwest-wasm-example]$ npm run serve
> @ serve /home/jim/src/rust/sdk-rust/example-projects/reqwest-wasm-example
> webpack serve
🧐 Checking for wasm-pack...
ℹ️ Installing wasm-pack
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/jim/src/rust/sdk-rust/example-projects/reqwest-wasm-example
✖ 「wdm」: Error: Rust compilation.
at ChildProcess.<anonymous> (/home/jim/src/rust/sdk-rust/example-projects/reqwest-wasm-example/node_modules/@wasm-tool/wasm-pack-plugin/plugin.js:221:16)
at ChildProcess.emit (events.js:376:20)
at maybeClose (internal/child_process.js:1055:16)
at Socket.<anonymous> (internal/child_process.js:441:11)
at Socket.emit (events.js:376:20)
at Pipe.<anonymous> (net.js:673:12)
ℹ 「wdm」: wait until bundle finished: /
C-c C-c[jim@localhost reqwest-wasm-example]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment