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,550 points
300 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,480 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,020 points

edited Oct 11, 2018 by Omkar 313 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,480 points
135 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,480 points
39 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,480 points
62 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
140 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
75 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,480 points
506 views