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

Cannot run yarn start #8756

Closed
alexec opened this issue May 13, 2022 · 1 comment · Fixed by #8802
Closed

Cannot run yarn start #8756

alexec opened this issue May 13, 2022 · 1 comment · Fixed by #8802
Labels
area/build Build or GithubAction/CI issues good first issue Good for newcomers type/bug

Comments

@alexec
Copy link
Contributor

alexec commented May 13, 2022

         ui | /Users/acollins8/go/src/github.com/argoproj/argo-workflows/ui/node_modules/react-hot-loader/node_modules/source-map/lib/read-wasm.js:8
         ui |       throw new Error("You must provide the URL of lib/mappings.wasm by calling " +
         ui |             ^
         ui | Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
         ui |     at readWasm (/Users/acollins8/go/src/github.com/argoproj/argo-workflows/ui/node_modules/react-hot-loader/node_modules/source-map/lib/read-wasm.js:8:13)
         ui |     at wasm (/Users/acollins8/go/src/github.com/argoproj/argo-workflows/ui/node_modules/react-hot-loader/node_modules/source-map/lib/wasm.js:25:16)
         ui |     at /Users/acollins8/go/src/github.com/argoproj/argo-workflows/ui/node_modules/react-hot-loader/node_modules/source-map/lib/source-map-consumer.js:264:14
         ui | Node.js v18.0.0
         ui | error Command failed with exit code 1.

Fix is to add this somewhere:

export NODE_OPTIONS=--no-experimental-fetch
@juliev0
Copy link
Contributor

juliev0 commented May 19, 2022

I'm completely new to React so don't fully know what I'm doing here, but is this what you had in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues good first issue Good for newcomers type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants