Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Cannot resolve dependency './rust_parcel_bg.js' #45

@denialanderror

Description

@denialanderror

Describe the Bug

Running the base template with the instructions in the readme, I get the following error:
<path>/<to>/rust-parcel-test/node_modules/parcel-plugin-wasm.rs/wasm-loader.js:2:14: Cannot resolve dependency './rust_parcel_bg.js' at '<path>/<to>/rust-parcel-test/node_modules/parcel-plugin-wasm.rs/rust_parcel_bg.js'

I've tried this with both NPM and Yarn.

Steps to Reproduce

  1. npm init rust-parcel rust-parcel-test
  2. cd rust-parcel-test
  3. npm install
  4. npm run start
  5. See error

Expected Behavior

The app should run.

Actual Behavior

The error occurs in the build.

Additional Context

MacOS 10.14.6
Node 13.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions