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 in Blockchain by kartik
• 36,040 points
1,092 views

1 answer to this question.

0 votes

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 by Niroj
• 78,520 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,030 points
2,962 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,030 points
1,126 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,300 points
3,489 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,400 points
106 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,300 points
384 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,810 points
434 views
0 votes
1 answer