若依 ENOENT: no such file or directory, open '***dg\package.json
被自己蠢哭,百度了白天。突然发现没在vue路径下执行。
E:\RedAir\code\gitlab\com-airtravel-sms-dg-master\sms-dg>npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path E:\RedAir\code\gitlab\com-airtravel-sms-dg-master\sms-dg\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'E:\RedAir\code\gitlab\com-airtravel-sms-dg-master\sms-dg\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Program Files\nodejs\node_cache\_logs\2020-10-27T07_26_56_887Z-debug.log
E:\RedAir\code\gitlab\com-airtravel-sms-dg-master\sms-dg>cd ..
E:\RedAir\code\gitlab\com-airtravel-sms-dg-master>cd sms-dg-ui
E:\RedAir\code\gitlab\com-airtravel-sms-dg-master\sms-dg-ui>npm run dev