Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory, stat '/data/src/web/DoraCMS/node_modules/@babel/template/node_modules/.bin/parser' #258

Open
suijunqiang opened this issue Jun 20, 2023 · 0 comments

Comments

@suijunqiang
Copy link

when running "npm run doracms", met not file errors as below:

(base) sui@sui-mxpBox:/data/src/web/DoraCMS$ npm run doracms

doracms2@2.1.8 doracms
node ./install/index.js

系统环境变量: development
node:internal/fs/utils:347
throw err;
^

Error: ENOENT: no such file or directory, stat '/data/src/web/DoraCMS/node_modules/@babel/template/node_modules/.bin/parser'
at Object.statSync (node:fs:1615:3)
at /data/src/web/DoraCMS/install/index.js:81:14
at Array.forEach ()
at deleteFolder (/data/src/web/DoraCMS/install/index.js:79:11)
at /data/src/web/DoraCMS/install/index.js:83:9
at Array.forEach ()
at deleteFolder (/data/src/web/DoraCMS/install/index.js:79:11)
at /data/src/web/DoraCMS/install/index.js:83:9
at Array.forEach ()
at deleteFolder (/data/src/web/DoraCMS/install/index.js:79:11) {
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: '/data/src/web/DoraCMS/node_modules/@babel/template/node_modules/.bin/parser'
}

Node.js v18.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant