truffle npm run dev not working

0 votes

When I run 

npm run dev

I get the following error:

npm ERR! Darwin 14.5.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"

npm ERR! node v6.2.2

npm ERR! npm v3.10.2

npm ERR! missing script: dev

npm ERR!

npm ERR! If you need help, you may report this error at:

npm ERR! https://github.com/npm/npm/issues

Nov 30, 2018 in Blockchain by digger
• 26,660 points
384 views

1 answer to this question.

0 votes
Are you running this command from the same directory that you have the required files? You to need run it from the same directory for it to work.
answered Nov 30, 2018 by Omkar
• 68,860 points

Related Questions In Blockchain

+4 votes
2 answers

I am unable to connect Ganache with Truffle/Npm Dev server. Pls help.

The issue is at CurrentProvider. Give the url ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,090 points

edited Oct 11, 2018 by Omkar 410 views
0 votes
1 answer

Ethereum truffle server command not working

Try this command to create project: truffle init ...READ MORE

answered Nov 29, 2018 in Blockchain by Omkar
• 68,860 points
184 views
0 votes
1 answer

Truffle dev says my function is not a function

It seems you are using truffle v5. ...READ MORE

answered Jan 24, 2019 in Blockchain by Omkar
• 68,860 points
48 views
0 votes
1 answer

Truffle deployer is not working

If you have deployed it before, then ...READ MORE

answered Jan 29, 2019 in Blockchain by Omkar
• 68,860 points
94 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
203 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 Aryya
• 7,340 points
122 views
0 votes
1 answer
0 votes
1 answer

Not able to install truffle using npm install -g truffle

You need root access to install truffle, ...READ MORE

answered Nov 29, 2018 in Blockchain by Omkar
• 68,860 points
713 views