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

Fork of codesandbox doesn't compile #6772

Closed
megantaylor opened this issue Nov 11, 2021 · 0 comments · Fixed by #6781
Closed

Fork of codesandbox doesn't compile #6772

megantaylor opened this issue Nov 11, 2021 · 0 comments · Fixed by #6781
Labels

Comments

@megantaylor
Copy link
Contributor

megantaylor commented Nov 11, 2021

What you were expecting:
Fork https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple, make changes, code should compile.

What happened instead:
Code fails to compile with this error:

ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'proxy-polyfill/proxy.min.js' in '/sandbox/src'
 @ ./src/polyfills.ts 5:0-38
 @ multi (webpack)-dev-server/client?http://127.0.0.1:8080 (webpack)/hot/dev-server.js ./src/polyfills.ts

Steps to reproduce:
Fork https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple
open any js file and add console.log("test")
see compile error in terminal

Related code:

https://codesandbox.io/s/elegant-dust-pdqkl?file=/src/comments/CommentEdit.tsx

This is preventing me from creating a simple example of my issue in #6751

@megantaylor megantaylor changed the title Fork of codesandbox doesn' Fork of codesandbox doesn't compile Nov 11, 2021
@djhi djhi added the bug label Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants