You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project by using vitesse-nuxt.I want to use slidev/cli in my project but when I run pnpm add @slidev/cli,there are some eslint errors.I looked for help anywhere but still have no idea.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project by using vitesse-nuxt.I want to use slidev/cli in my project but when I run
pnpm add @slidev/cli,there are some eslint errors.I looked for help anywhere but still have no idea.node: 20.17.0;pnpm: 9.9.0;webstorm: 2024.2;eslint:8.57.0
SystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) SystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) at new WriteStream (node:tty:93:11) at xD.prompt (file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/@[email protected]/node_modules/@clack/core/dist/index.mjs:9:818) at Module.se (file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/@[email protected]/node_modules/@clack/prompts/dist/index.mjs:22:7) at ensurePackages (file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]__@u_zsac6kdojf4oxbsthe3lrb7sz4/node_modules/@antfu/eslint-config/dist/index.js:161:26) at async formatters (file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]__@u_zsac6kdojf4oxbsthe3lrb7sz4/node_modules/@antfu/eslint-config/dist/index.js:346:3) at async Promise.all (index 23) at async file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/[email protected]/node_modules/eslint-flat-config-utils/dist/index.mjs:116:25 at async FlatConfigComposer.toConfigs (file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/[email protected]/node_modules/eslint-flat-config-utils/dist/index.mjs:339:17) at async Promise.all (index 0) at async file:///D:/projects/ownProjects/frontend-nuxt/node_modules/.pnpm/[email protected]/node_modules/eslint-flat-config-utils/dist/index.mjs:116:25 Process finished with exit code -1here is my package.json,when I remove slidev/cli,eslint works.When I installed,it went wrong.
{ "type": "module", "private": true, "scripts": { "build": "nuxi build", "dev": "nuxi dev --port 8848 --host", "generate": "nuxi generate", "prepare": "nuxi prepare", "start": "node .output/server/index.mjs", "start:generate": "npx serve .output/public", "lint": "eslint .", "typecheck": "vue-tsc --noEmit" }, "devDependencies": { "@antfu/eslint-config": "^2.27.1", "@iconify-json/carbon": "^1.1.37", "@iconify-json/twemoji": "^1.1.16", "@nuxt/devtools": "^1.4.0", "@nuxt/eslint": "^0.5.2", "@nuxtjs/color-mode": "^3.4.4", "@unocss/eslint-config": "^0.62.3", "@unocss/nuxt": "^0.62.3", "@vite-pwa/nuxt": "^0.10.1", "@vueuse/nuxt": "^11.0.3", "consola": "^3.2.3", "eslint": "^8.57.0", "eslint-plugin-format": "^0.1.2", "nuxt": "^3.13.0", "typescript": "^5.5.4", "vue-tsc": "^2.0.29" }, "dependencies": { "@ant-design/icons-vue": "^7.0.1", "@slidev/cli": "^0.49.29", "@types/lodash-es": "^4.17.12", "@vueuse/integrations": "^11.0.3", "await-to-js": "^3.0.0", "axios": "^1.7.7", "fast-fuzzy": "^1.12.0", "lodash-es": "^4.17.21", "naive-ui": "^2.39.0", "nuxt-mongoose": "^1.0.6", "nuxtjs-naive-ui": "^1.0.2", "unplugin-auto-import": "^0.18.2", "unplugin-vue-components": "^0.27.4" }, "resolutions": { "@typescript-eslint/utils": "^8.2.0" } }Beta Was this translation helpful? Give feedback.
All reactions