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
229 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 66,990 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
• 16,450 points

edited Oct 11, 2018 by Omkar 245 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
• 66,990 points
88 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
• 66,990 points
32 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
• 66,990 points
54 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
88 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
49 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
• 66,990 points
355 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.