Error is not recognized as an internal or external command

0 votes

Hii team 

This is my work

npm start

> server@1.0.0 start C:\Users\07\OneDrive\Desktop\Final Try\fabcar-blockchain-sample\web-app\server
> ./node_modules/nodemon/bin/nodemon.js src/app.js

I'm getting this error

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! server@1.0.0 start: `./node_modules/nodemon/bin/nodemon.js src/app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the server@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\07\AppData\Roaming\npm-cache\_logs\2020-05-04T13_24_08_021Z-debug.log

'.' is not recognized as an internal or external command,.Here, in this I'm following the basic edureka  tutorial. But I'm geting error as "'.' is not recognized as an internal or external command". 

How to solve this error?

May 5, 2020 in Blockchain by kartik
• 37,510 points
9,677 views

1 answer to this question.

+1 vote

Hello @kartik,

Edit package.json and remove the ./.

Change

"start": "./node_modules/nodemon/bin/nodemon.js src/app.js"

to

"start": "nodemon src/app.js"

Alternatively, you can try:

npm install -g nodemon

and change the start command to

"start": "./node_modules/nodemon/bin/nodemon.js src/app.js"

Thank You!!

answered May 5, 2020 by Niroj
• 82,880 points

Related Questions In Blockchain

0 votes
1 answer

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

According to the error, it seems like ...READ MORE

answered Jan 23, 2019 in Blockchain by Omkar
• 69,230 points
14,849 views
0 votes
1 answer

Hyperledger Fabric peer command not found error.

This error occurs when the system can ...READ MORE

answered Jul 2, 2018 in Blockchain by Omkar
• 69,230 points
3,746 views
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,360 points
11,554 views
0 votes
1 answer

Is it possible to claim Bitcoin Cash from an exchange that does not support it?

You can't claim BCH without knowing private ...READ MORE

answered Jul 17, 2018 in Blockchain by aryya
• 7,450 points
605 views
0 votes
1 answer

Truffle tutorials "Error:recipient address is not a contract address"

It appears like you have already migrated ...READ MORE

answered Aug 8, 2018 in Blockchain by slayer
• 29,360 points
935 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,784 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,307 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP