vue-element-admin
vue-element-admin copied to clipboard
[email protected] dev: `cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js` npm ERR! Exit status 1
npm run dev 报该错误, 依赖可以下载成功
[email protected] dev /Users/huoma003/Desktop/Project/newRetail-cashier cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
internal/modules/cjs/loader.js:1068 throw err; ^
Error: Cannot find module 'node:path' Require stack:
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/path-scurry/dist/commonjs/index.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/glob.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/index.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/index-cjs.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/@sentry/bundler-plugin-core/dist/cjs/index.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/@sentry/webpack-plugin/dist/cjs/index.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/build/webpack.base.conf.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/build/webpack.dev.conf.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/webpack-cli/bin/convert-argv.js
- /Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/webpack-dev-server/bin/webpack-dev-server.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1065:15)
at Function.Module._load (internal/modules/cjs/loader.js:911:27)
at Module.require (internal/modules/cjs/loader.js:1125:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.
(/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/path-scurry/dist/commonjs/index.js:28:21) at Module._compile (internal/modules/cjs/loader.js:1236:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1257:10) at Module.load (internal/modules/cjs/loader.js:1085:32) at Function.Module._load (internal/modules/cjs/loader.js:950:14) at Module.require (internal/modules/cjs/loader.js:1125:19) at require (internal/modules/cjs/helpers.js:75:18) at Object. (/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/glob.js:5:23) at Module._compile (internal/modules/cjs/loader.js:1236:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1257:10) at Module.load (internal/modules/cjs/loader.js:1085:32) at Function.Module._load (internal/modules/cjs/loader.js:950:14) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/path-scurry/dist/commonjs/index.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/glob.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/index.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/glob/dist/cjs/index-cjs.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/@sentry/bundler-plugin-core/dist/cjs/index.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/@sentry/webpack-plugin/dist/cjs/index.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/build/webpack.base.conf.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/build/webpack.dev.conf.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/webpack-cli/bin/convert-argv.js', '/Users/huoma003/Desktop/Project/newRetail-cashier/node_modules/webpack-dev-server/bin/webpack-dev-server.js' ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev: cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.jsnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! /Users/huoma003/.npm/_logs/2024-09-11T05_26_52_474Z-debug.log