The correct command to start npm is actually npm run dev, not npm dev run. If you get the order reversed, you'll encounter various errors, and many beginners have fallen into this trap.

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 8
  • Repost
  • Share
Comment
0/400
BankruptcyArtistvip
· 4h ago
Haha, I've also been坑坑过 by this. run dev and dev run are really something else.
View OriginalReply0
ImpermanentPhobiavip
· 01-21 09:07
Haha, I've fallen into this trap before. I've really run npm dev once, and I was totally out of my mind at the time.
View OriginalReply0
ForkMastervip
· 01-20 08:01
Oh no, I wouldn't make such a basic mistake anymore. I understood it back when I reviewed the code for the project team. Now, even when teaching three kids to write scripts, I don't make such errors.
View OriginalReply0
SchrodingerAirdropvip
· 01-20 08:01
Oops, I've also fallen into this trap before. npm run dev vs npm dev run, the order really matters.
View OriginalReply0
MeltdownSurvivalistvip
· 01-20 07:59
npm run dev is correct; dev run really misleads people.
View OriginalReply0
GlueGuyvip
· 01-20 07:52
npm run dev, remember that this order is really crucial
View OriginalReply0
RooftopVIPvip
· 01-20 07:51
Haha, I also fell for it when the order was reversed. It took me a while to realize that's what was going on.
View OriginalReply0
YieldWhisperervip
· 01-20 07:42
Haha, after trying it the other way once, now it's a conditioned reflex.
View OriginalReply0
  • Pin

Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate App
Community
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)