headlesscms.org
headlesscms.org copied to clipboard
`.babelrc` doesn't seem to be loaded by react-static
When I run:
npm start or npm run build, I get the following errors:
Error: Cannot find module 'Scripts/util'
Looks like Scripts is a path alias defined in the .babelrc file.
@Saw-mon-and-Natalie
I couldn't reproduce this.
horie at MBP in ~/src/github.com/netlify/headlesscms.org on master
$ npm start
> [email protected] start /Users/horie/src/github.com/netlify/headlesscms.org
> react-static start
=> Building Routes...
=> [✓] Routes Built: 97.353ms
=> Building App Bundle...
=> [✓] Build Complete: 4451.993ms
=> [✓] App serving at http://localhost:3000
It looks the file exists.
https://github.com/netlify/headlesscms.org/blob/master/scripts/util.js