jihchi / app-template-rescript-react

Adding ReScript with rescript-react on top of @snowpack/app-template-react
https://app-template-rescript-react-jihchi.vercel.app
42 stars 2 forks source link

Uncaught TypeError: Failed to resolve module specifier #5

Closed painedpineapple closed 4 years ago

painedpineapple commented 4 years ago

Just cloned the repo and ran the start script with yarn and got the following console error: Uncaught TypeError: Failed to resolve module specifier "react". Relative references must start with either "/", "./", or "../".

painedpineapple commented 4 years ago

I'm no longer getting this error after restarting my computer and specifying a port with the --port flag for the snowpack dev script.