-
Notifications
You must be signed in to change notification settings - Fork 453
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
nuxt项目跑不起来 #224
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
\Users\chend\Desktop\practice_project\web\ky-project\koa-blog-list\nuxtjs-blog-web\node_modules@nuxt\utils\node_modules\consola\dist\shared\consola.4bbae468.cjs:585
const isBadge = logObj.badge ?? logObj.level < 2;
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\Users\chend\Desktop\practice_project\web\ky-project\koa-blog-list\nuxtjs-blog-web\node_modules@nuxt\utils\node_modules\consola\dist\index.cjs:5:15)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev:
cross-env NODE_ENV=development nuxt
npm 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! C:\Users\chend\AppData\Roaming\npm-cache_logs\2023-08-22T14_20_34_453Z-debug.log
依赖能够安装成功,但是好像依赖包有问题,我用的时12版本node,6.14.16的npm,貌似识别不了逻辑运算符??,不知道什么原因
The text was updated successfully, but these errors were encountered: