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

Missing path dashes on Windows #14

Open
nunofaria007 opened this issue Nov 14, 2022 · 0 comments
Open

Missing path dashes on Windows #14

nunofaria007 opened this issue Nov 14, 2022 · 0 comments

Comments

@nunofaria007
Copy link

Describe the bug:
Missing path dashes on Windows

To reproduce:
CRA 5.0.1
craco 7.0.0

Screenshots:
image

image

Browser, OS, Go version and Golang-WASM version:

  • OS: Windows 11
  • Go: 1.19.3
  • Golang-WASM: 0.1.0

Additional context:
Quick fix: Replacing \ with /
const wasmSavePath = path.join(__dirname, 'wasm_exec.js').replace(/\\/g,"/");

import goWasm from \'${path.join(__dirname, \'bridge.js\').replace(/\\/g,"/")}'

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