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

Pin [email protected] to fix npm-based install #4

Closed
wants to merge 1 commit into from

Conversation

billagee
Copy link

@billagee billagee commented Jan 5, 2019

I tried running npm run dev in a fresh install of the emilia starter on a system without yarn installed, and the command fails with this error:

success onPostBootstrap — 0.228 s
error Cannot find module 'core-js/modules/es6.regexp.to-string'

Running npm install --save-prod [email protected] seems to fix it. After doing that npm run dev with yarn installed still seems to succeed as well.

Looks like this same issue has popped up in other gatsby starters; so I basically borrowed one of their fixes:

maxpou/gatsby-starter-morning-dew#29

@LekoArts
Copy link
Owner

LekoArts commented Jan 9, 2019

Hi, thank you for the PR! Since this is an issue with npm (Gatsby already has that as a dependency), it works fine with yarn I don't want to incorporate this change :/

@LekoArts LekoArts closed this Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants