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

Dec 1, 2018 in Blockchain by digger
• 26,740 points
1,571 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 Dec 1, 2018 by Omkar
• 69,230 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,100 points

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

Ethereum truffle server command not working

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

answered Nov 30, 2018 in Blockchain by Omkar
• 69,230 points
1,243 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
• 69,230 points
2,163 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
• 69,230 points
1,274 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
1,882 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,399 views
+1 vote
1 answer

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

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,325 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
• 69,230 points
4,359 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP