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

0 votes

I am trying to run an Ethereum project that I downloaded from github. I have installed npm and nodejs. Now, when I run

npm run dev

I am getting the following error:

'env' is not recognized as an internal or external command,
    operable program or batch file.
    'env' is not recognized as an internal or external command,
    operable program or batch file.
npm ERR! Failed at the quran@1.0.0 dev script 'env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the quran package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs quran
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner
Jan 23 in Blockchain by Trisha
324 views

1 answer to this question.

0 votes

According to the error, it seems like the module required to run this project (module env) is not installed in your system. You can solve this error by installing that module

$ npm update
$ npm install dotenv –save
answered Jan 23 by Omkar
• 67,660 points

Related Questions In Blockchain

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 ariaholic
• 7,340 points
50 views
+1 vote
5 answers

Difference between internal-external, private-public in function

External: These functions are part of the ...READ MORE

answered Apr 7, 2018 in Blockchain by Shashank
• 10,350 points
1,728 views
+1 vote
1 answer

Is it possible to store blockchain in a sql or no-sql database?

Currently, following are the options to store ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,020 points

edited Aug 9, 2018 by Omkar 69 views
+1 vote
1 answer

How can I achieve a functionality where an action is performed after a payment is received?

See this can be achieved in more ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,020 points
27 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
172 views
0 votes
1 answer
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,340 points
92 views
0 votes
1 answer

Command "network" is not defined. in hyperledger composer

For composer network to work, you must ...READ MORE

answered Nov 21, 2018 in Blockchain by Omkar
• 67,660 points
272 views
0 votes
2 answers

Why does not India consider Bitcoin as a legal tender?

to be specific there are few logical ...READ MORE

answered Jul 2, 2018 in Blockchain by Priyaj
• 56,920 points
74 views