fabe/gatsby-universal

Cannot find module 'core-js/modules/es6.array.filter'

cutemachine opened this issue · 3 comments

I get an error on a clean installation.

Error: Cannot find module 'core-js/modules/es6.array.filter'

I'm using Gatsby 2.0.0-rc.1

Adding core-js as a dependency resolves the issue (npm add core-js --save), but I'm not sure this is the correct solution to the problem.

PS: Thanks for the great starter.

fabe commented

Hey, I can't reproduce this on a clean install on my machine, so this might be an isolated issue. I'll keep this open in case anybody else runs into this.

Same deal for me.

Cannot find module 'core-js/modules/es6.regexp.to-string'

Adding the missing core-js fixed it as reported.

fabe commented

Not sure what's wrong here, but I added core-js to the devDependencies, so this should hopefully fix it. Thanks!