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
• 27,620 points
253 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
• 67,120 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,010 points

edited Oct 11, 2018 by Omkar 268 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
• 67,120 points
104 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 in Blockchain by Omkar
• 67,120 points
34 views
0 votes
1 answer

Truffle deployer is not working

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

answered Jan 29 in Blockchain by Omkar
• 67,120 points
56 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
105 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,320 points
56 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
• 67,120 points
403 views