Can't start on Linux (Fedora 23)
opened this issue · comments
The npm install dependencies fine, but when i start the app npm start
one error appear:
Uncaught Exception:
Error: Cannot find module 'babel-runtime/core-js/object/get-prototype-of'
That's strange. Please check if babel-runtime
and all the dependency were installed successfully. Are you able to run babel in another context / project on Fedora 23? Which version of node and npm is installed?
Got the same of npm start on windows 10. NPM install ran without errors. I will check the babel thing again.
Fixed it via adding "babel-runtime": "6.6.1" as a dev dependency as someone mentioned it here: rblopes/generator-phaser-plus#9 (comment)
Added babel-core and babel-loader to it too, but this is what I did it before, didn't help. But babel-runtime worked. So please add it to the package.json in general.
Thanks a lot for investigation in this issue. Would you like to create a PR for this?
I can but there is really no magic, it is only adding this line:
"babel-runtime": "6.6.1"
as a first entry into the devDependencies. Thats all.