We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't build a project created from this template for deployment (the dev server works fine).
npx github:rustwasm/rust-webpack-template wasm-test-webpack
npm run-script build
A compiled project in dist.
> [email protected] build …\wasm-test-webpack > rimraf dist pkg && webpack 🧐 Checking for wasm-pack... ✅ wasm-pack is installed. ℹ️ Compiling your crate in release mode... [INFO]: Checking for the Wasm target... [INFO]: Compiling to Wasm... Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Compiling cc v1.0.37 Compiling libc v0.2.58 Compiling syn v0.15.37 Compiling version_check v0.1.5 Compiling wasm-bindgen-shared v0.2.47 Compiling autocfg v0.1.4 Compiling memchr v2.2.0 Compiling failure_derive v0.1.5 Compiling cfg-if v0.1.9 Compiling lazy_static v1.3.0 Compiling bumpalo v2.4.3 Compiling rustc-demangle v0.1.15 Compiling unicode-segmentation v1.3.0 Compiling wasm-bindgen v0.2.47 Compiling sourcefile v0.1.4 Compiling backtrace v0.3.31 Compiling nom v4.2.3 Compiling log v0.4.6 Compiling heck v0.3.1 Compiling backtrace-sys v0.1.28 Compiling weedle v0.9.0 Compiling quote v0.6.12 Compiling synstructure v0.10.2 Compiling wasm-bindgen-backend v0.2.47 Compiling wasm-bindgen-macro-support v0.2.47 Compiling wasm-bindgen-macro v0.2.47 Compiling js-sys v0.3.24 Compiling console_error_panic_hook v0.1.6 Compiling failure v0.1.5 Compiling wasm-bindgen-webidl v0.2.47 Compiling web-sys v0.3.24 Compiling rust-webpack-template v0.1.0 (…\wasm-test-webpack) Finished release [optimized] target(s) in 1m 46s [INFO]: Installing wasm-bindgen... thread 'main' panicked at 'assertion failed: !self.dead.contains(&id)', C:\Program Files\Rust\.cargo\registry\src\github.com-1ecc6299db9ec823\walrus-0.8.0\src\tombstone_arena.rs:139:9 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. Error: Running the wasm-bindgen CLI Caused by: failed to execute `wasm-bindgen`: exited with exit code: 101 wasm-pack error: undefined Hash: 634c67c8e1dd2cafc652 Version: webpack 4.35.0 Time: 108201ms Built at: 2019-06-23 19:22:35 1 asset Entrypoint index = index.js [0] ./js/index.js 49 bytes {0} [built] ERROR in ./js/index.js
I have an older instance of this template on a project of mine which works fine, so I don't think that it's my development environment.
The text was updated successfully, but these errors were encountered:
Please see rustwasm/wasm-bindgen#1613
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
I can't build a project created from this template for deployment (the dev server works fine).
Steps to Reproduce
npx github:rustwasm/rust-webpack-template wasm-test-webpack
npm run-script build
Expected Behavior
A compiled project in dist.
Actual Behavior
Additional Context
I have an older instance of this template on a project of mine which works fine, so I don't think that it's my development environment.
The text was updated successfully, but these errors were encountered: