Moved from GitHub ratel/92
Posted by chandra155:
After installing npm dependencies, when trying to start project by npm start getting error.
Error: Command failed: git rev-parse --short HEAD
fatal: not a git repository (or any of the parent directories): .git
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at getClientEnvironment (C:\Users\Z0042HDB\Downloads\ratel-master\ratel-master\client\config\env.js:83:41)
at Object.<anonymous> (C:\Users\Z0042HDB\Downloads\ratel-master\ratel-master\client\config\webpack.config.dev.js:22:11)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ratel-client@0.0.1 start: node scripts/start.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ratel-client@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Please help