I am ussing the Victor Hugo boiler plate (https://github.com/netlify/victor-hugo) on windows. I ran npm install & get this error:
ERROR in ./src/js/app.js
Module build failed: Error: Cannot find module 'babel-core’
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (…\node_modules\babel-loader\lib\index.js:3:13)
at Module._compile (module.js:569:30)
at Module._extensions…js (module.js:580:10)
at Object.require.extensions.(anonymous function) [as .js] (…\node_modules\babel-register\lib\node.js:152:7)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
@ multi ./js/app
I see in the package.json that babel-core is not listed as a dependency. I installed babel-core, and it fixed the errors. Was this intentional, if so what would be the reason?