我有一个Next.js应用程序,它能够正常工作,但是当我离开它并返回时,会出现以下问题:
errno: -4048,
code: 'EPERM',
syscall: 'rmdir',
path: 'C:\\Users\\gmacr\\Google Drive\\Optical-Font-Website\\O\\.next\\server\\pages'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opt@0.1.0 dev: `next dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opt@0.1.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\gmacr\AppData\Roaming\npm-cache\_logs\2021-10-16T21_14_26_886Z-debug.log
我尝试使用npm clean cache。我使用的是Windows 10操作系统。当我创建一个新的Next应用程序并将我的工作文件复制到其中时,该程序在没有错误的情况下运行,但是当我离开一段时间后再回来,就会出现问题...