netlify-templates/victor-hugo

Getting error while running npm start

mbaljeetsingh opened this issue · 1 comments

$ npm start

> victor-hugo@1.0.0 start C:\xampp\htdocs\baljeetsingh.in
> gulp server

[12:18:49] Failed to load external module @babel/register
[12:18:49] Requiring external module babel-register
gulp[16704]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
 1: node::DecodeWrite
 2: node::DecodeWrite
 3: uv_loop_fork
 4: v8::internal::interpreter::BytecodeDecoder::Decode
 5: v8::internal::RegExpImpl::Exec
 6: v8::internal::RegExpImpl::Exec
 7: v8::internal::RegExpImpl::Exec
 8: 00000201CE304281
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! victor-hugo@1.0.0 start: `gulp server`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the victor-hugo@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\mbaljeetsingh\AppData\Roaming\npm-cache\_logs\2018-06-09T06_48_49_836Z-debug.log

- Do you want to request a feature or report a bug?
Bug

- What is the current behavior?
Not starting the server

- If the current behavior is a bug, please provide the steps to reproduce.
Clone the repo, npm install, npm start

- What is the expected behavior?
Should start the server

- Please mention your node.js, NPM, Hugo and operating system version.
NodeJS : v10.0.0
npm : 6.0.0
OS : Windows 10

Replaced all the files in the current project directory and then run npm install. Everything works now.