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

[PROJECT BUG] Module not found: Error: Can't resolve '@swc/wasm-web/wasm.js' in... #711

Open
ericmorand opened this issue Jan 24, 2024 · 0 comments

Comments

@ericmorand
Copy link

ericmorand commented Jan 24, 2024

Describe the bug

When executing npm run build-dev, the following error is thrown, among multiple others of the same kind:

ERROR in ./src/parsers/js/swc.js
Module not found: Error: Can't resolve '@swc/wasm-web/wasm.js' in '/home/[REDACTED]/Projects/astexplorer/website/src/parsers/js'

Obviously, the deployed browser application crashes accordingly.

This happens with every version of node from 12 to 18 but probably also happens with 19 to 21.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'website'
  2. Run npm run build-dev

Expected behavior

The webpack bundle is successfully built.

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