rrdelaney / reason-scripts

:beginner: Create a ReasonML and React development environment
MIT License
628 stars 58 forks source link

npm start fails on a new project created via create-react-app #19

Closed loxs closed 6 years ago

loxs commented 6 years ago

The error I get is this:

./~/reason-react/lib/js/src/reasonReact.js
Module not found: Can't resolve 'bs-platform/lib/js/list.js' in '<project>/node_modules/reason-react/lib/js/src'
loxs commented 6 years ago

Ah, sorry. It works if you first run npm install. Though it's probably a good idea to add it to the README, as some people who are trying to use this are new to npm.

rrdelaney commented 6 years ago

@loxs Hm that’s weird, you shouldn’t have to run “npm install” first - I’ll look into this.

We’re you using npm or yarn?

loxs commented 6 years ago

npm