ramsaylanier / react-cssmodules-sass-boilerplate

MIT License
16 stars 3 forks source link

Babel errors when running npm run start #1

Open ericmasiello opened 8 years ago

ericmasiello commented 8 years ago

I have node v4.2.2 installed. after running npm install, i ran npm run start. From there i'm getting a bunch of errors. Any ideas?

ERROR in ./app/components/Page/_homePage.js Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/get-prototype-of' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/_homePage.js 7:22-78

ERROR in ./app/components/Page/_homePage.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/classCallCheck' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/_homePage.js 11:23-70

ERROR in ./app/components/Page/_homePage.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/createClass' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/_homePage.js 15:20-64

ERROR in ./app/components/Page/_homePage.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/possibleConstructorReturn' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/_homePage.js 19:34-92

ERROR in ./app/components/Page/_homePage.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/inherits' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/_homePage.js 23:17-58

ERROR in ./app/App.js Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/get-prototype-of' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app @ ./app/App.js 7:22-78

ERROR in ./app/App.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/classCallCheck' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app @ ./app/App.js 11:23-70

ERROR in ./app/App.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/createClass' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app @ ./app/App.js 15:20-64

ERROR in ./app/App.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/possibleConstructorReturn' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app @ ./app/App.js 19:34-92

ERROR in ./app/App.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/inherits' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app @ ./app/App.js 23:17-58

ERROR in ./app/components/header/header.js Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/get-prototype-of' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/header @ ./app/components/header/header.js 9:22-78

ERROR in ./app/components/header/header.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/classCallCheck' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/header @ ./app/components/header/header.js 13:23-70

ERROR in ./app/components/header/header.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/createClass' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/header @ ./app/components/header/header.js 17:20-64

ERROR in ./app/components/header/header.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/possibleConstructorReturn' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/header @ ./app/components/header/header.js 21:34-92

ERROR in ./app/components/header/header.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/inherits' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/header @ ./app/components/header/header.js 25:17-58

ERROR in ./app/components/Page/page.js Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/get-prototype-of' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/page.js 9:22-78

ERROR in ./app/components/Page/page.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/classCallCheck' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/page.js 13:23-70

ERROR in ./app/components/Page/page.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/createClass' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/page.js 17:20-64

ERROR in ./app/components/Page/page.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/possibleConstructorReturn' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/page.js 21:34-92

ERROR in ./app/components/Page/page.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/inherits' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/Page @ ./app/components/Page/page.js 25:17-58

ERROR in ./app/components/sections/section.js Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/get-prototype-of' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/sections @ ./app/components/sections/section.js 9:22-78

ERROR in ./app/components/sections/section.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/classCallCheck' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/sections @ ./app/components/sections/section.js 13:23-70

ERROR in ./app/components/sections/section.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/createClass' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/sections @ ./app/components/sections/section.js 17:20-64

ERROR in ./app/components/sections/section.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/possibleConstructorReturn' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/sections @ ./app/components/sections/section.js 21:34-92

ERROR in ./app/components/sections/section.js Module not found: Error: Cannot resolve module 'babel-runtime/helpers/inherits' in /Users/masielle/Sites/react-cssmodules-sass-boilerplate/app/components/sections @ ./app/components/sections/section.js 25:17-58

davidlashley commented 8 years ago

When running the following (according to instruction): npm run startdev

The followoijg error is produced: Error: Cannot find module 'babel-runtime/core-js/json/stringify'

Along with: Failed at the webpack-express-boilerplate@0.1.0 startdev script 'NODE_ENV=dev babel-node --debug ./server.js'

Any ideas?

tylersloan commented 8 years ago

@ericmasiello @davidlashley, I submitted a PR that'll fix this error. You can see it in #2

You can fix this issue yourself by installing babel-runtime: npm install babel-runtime