The project was fine before leaving work yesterday, but when I started the project in the company this morning, I suddenly reported a strange mistake?

the project that was still being worked on before leaving work last night suddenly reported the following error as soon as the company started the project as soon as possible:

Error: Cannot find module "chalk"

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\Users\lhy\Desktop\project_ljl\vue-admin-master\build\check-versions.js:1:75)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)

npm err! Code ELIFECYCLE
npm err! Errno 1
npm err! Vueadmin@1.0.5 dev: node build/dev-server.js
npm err! Exit status 1
npm err!
npm err! Failed at the vueadmin@1.0.5 dev script.
npm err! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm err! A complete log of this run can be found in:
npm err! C:UserslhyAppDataRoamingnpm-cache_logs2018-07-27T00_57_02_155Z-debug.log

Process finished with exit code 1

I do have chalk as soon as I check it, and after npm install has done it again, I still report this error. (the project technology stack is vue-cli scaffolding and element-ui)

Mar.31,2021

try deleting the node_modules folder and reinstalling it. If not, delete it and use cnpm to install it.
Delete the node_modules folder, recommend a plug-in, rimraf especially the windows system, delete things quickly.
npm install-g rimraf , just delete rimraf node_modules .


I made a mistake myself. I may not wake up in the morning, wrong project, my project is fine. Excuse me, everyone


the landlord is here to be funny. The identification is complete.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b367e4-2ad61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b367e4-2ad61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?