angular-2-beta-boilerplate icon indicating copy to clipboard operation
angular-2-beta-boilerplate copied to clipboard

'concurrent' is not recognized as an internal or external command

Open mounikagudee opened this issue 7 years ago • 6 comments

I'm getting an issue while "npm start" saying: 'concurrent' is not recognized as an internal or external command, operable program or batch file.

Below is the error log: 0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe', 1 verbose cli 'C:\Users\GD1\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle [email protected]~prestart: [email protected] 6 silly lifecycle [email protected]~prestart: no script for prestart, continuing 7 info lifecycle [email protected]~start: [email protected] 8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true 9 verbose lifecycle [email protected]~start: PATH: C:\Users\GD1\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Users\GD1\Desktop\angular-2-beta-boilerplate-master\node_modules.bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\Java\jre7;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\WINDOWS\system32;C:\Program Files\SourceGear\Common\DiffMerge;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Microsoft SQL Server\110\DTS\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files\Git\cmd;C:\wamp64\bin\php\php5.6.25;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Google\google_appengine;C:\Users\GD1\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;C:\Users\GD1\AppData\Local\Microsoft\WindowsApps;C:\Users\GD1\AppData\Roaming\Composer\vendor\bin;E:\Program Files\Microsoft VS Code\bin;C:\Users\GD1\AppData\Roaming\npm 10 verbose lifecycle [email protected]~start: CWD: C:\Users\GD1\Desktop\angular-2-beta-boilerplate-master 11 silly lifecycle [email protected]~start: Args: [ '/d /s /c', 'concurrent "npm run gulp" "npm run lite" ' ] 12 silly lifecycle [email protected]~start: Returned: code: 1 signal: null 13 info lifecycle [email protected]~start: Failed to exec start script 14 verbose stack Error: [email protected] start: concurrent "npm run gulp" "npm run lite" 14 verbose stack Exit status 1 14 verbose stack at EventEmitter. (C:\Users\GD1\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:279:16) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at EventEmitter.emit (events.js:191:7) 14 verbose stack at ChildProcess. (C:\Users\GD1\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at ChildProcess.emit (events.js:191:7) 14 verbose stack at maybeClose (internal/child_process.js:877:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 15 verbose pkgid [email protected] 16 verbose cwd C:\Users\GD1\Desktop\angular-2-beta-boilerplate-master 17 error Windows_NT 10.0.14393 18 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\GD1\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start" 19 error node v6.10.0 20 error npm v4.2.0 21 error code ELIFECYCLE 22 error errno 1 23 error [email protected] start: concurrent "npm run gulp" "npm run lite" 23 error Exit status 1 24 error Failed at the [email protected] start script 'concurrent "npm run gulp" "npm run lite" '. 24 error Make sure you have the latest version of node.js and npm installed. 24 error If you do, this is most likely a problem with the angular2-boilerplate package, 24 error not with npm itself. 24 error Tell the author that this fails on your system: 24 error concurrent "npm run gulp" "npm run lite" 24 error You can get information on how to open an issue for this project with: 24 error npm bugs angular2-boilerplate 24 error Or if that isn't available, you can get their info via: 24 error npm owner ls angular2-boilerplate 24 error There is likely additional logging output above. 25 verbose exit [ 1, true ]

mounikagudee avatar Mar 17 '17 11:03 mounikagudee

have same problem

andreaschrist27 avatar Mar 21 '17 05:03 andreaschrist27

remove dependency in node_modules and install again. It worked for me

gaglage avatar Mar 05 '18 08:03 gaglage

yarn install did it

jhaytaslim avatar Mar 14 '18 17:03 jhaytaslim

Just use angular cli and then do new project don't use this project for setup it's out of date

On Wed, Mar 14, 2018 at 12:22 PM, jhaytaslim [email protected] wrote:

yarn install does it

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mschwarzmueller/angular-2-beta-boilerplate/issues/30#issuecomment-373105215, or mute the thread https://github.com/notifications/unsubscribe-auth/AG8VZabgDr8LtiPQ8FwzhN7x_DxphYvvks5teVHBgaJpZM4MgdKs .

2advancesolutions avatar Mar 15 '18 15:03 2advancesolutions

Issue solved after yarn install

rjoydip-zz avatar Sep 08 '18 03:09 rjoydip-zz

Problem solved after running yarn add concurrently

ArmAlam avatar Mar 01 '20 03:03 ArmAlam