Comments (4)
@shinGangan sorry for late reply.
os: ubuntu 22.04
node: v18.17.0
npm: v10.1.0
pnpm: v8.15.4
nuxt: v3.10.*
Today I noticed, the "issue" I face is when I delete the .nuxt
, node_modules
folders, the package lock
file and then I reinstall the app again. Install method just run pnpm or npm install
edit 2: delete .nuxt
, node_modules
and lock and reinstall (pnpm install
) and have the same problem just stuck. i cancel and then pnpm
show the installed dependencies. the same problem I have with npm and pnpm.
// package.json
"dependencies": {
"@iconify/json": "^2.2.188",
"@nuxt/ui-pro": "^1.0.1",
"@octokit/core": "^6.0.1",
"h3": "^1.11.1",
"h3-zod": "^0.5.3",
"nuxt": "^3.10.3",
"nuxt-auth-utils": "^0.0.20",
"prisma": "^5.10.2",
"showdown": "^2.1.0",
"ufo": "^1.4.0",
"vue": "^3.4.19",
"vue-router": "^4.3.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@nuxt/devtools": "^1.0.8",
"@nuxtjs/fontaine": "^0.4.1",
"@prisma/client": "^5.10.2",
"@vueuse/nuxt": "^10.9.0",
"typescript": "^5.3.3"
}
// nuxt.config.ts
export default defineNuxtConfig({
devtools: { enabled: true },
extends: ['@nuxt/ui-pro'],
modules: ['@nuxt/ui', '@vueuse/nuxt', 'nuxt-auth-utils', '@nuxtjs/fontaine'],
ui: {
icons: ['heroicons', 'simple-icons', 'mdi', 'lucide', 'fluent-mdl2']
},
fontMetrics: {
fonts: [
{
family: 'Nasalization',
src: 'nasaliza.woff'
}
],
},
})
from cli.
I see the prombel because I have the errors with use of undeclared variable
in general I have this error too use of undeclared variable: defineNuxtConfig
and that is the reason. But I dont know why what happen with this undeclared error to cause to my project. In another project I dont have the same issue....
from cli.
Hi @prpanto .
Do you know the following environmental information about this issue?
We would appreciate it if you could share this information with us, as the solution may vary depending on the version and environment.
- OS: macOS? Ubuntu? Windows 11?
- Nuxt version
- Node / Bun version
- is exist Error message?
- Other possible influences
- eg1) Tailwind CSS is used, already set in nuxt.config.ts
- eg2) I want to use xyz module
from cli.
Hi @prpanto , thanks for the answer.
I thought it would be easier for the maintainer team to guess and answer the question if we had more information about the environment.
I have not observed a similar error on my end, so I am preparing a similar environment to verify the issue. Sorry I can't help you right away. 🙏
from cli.
Related Issues (20)
- preview command failed with nitro.output.dir HOT 1
- nuxt preview does not respect the --dotenv option HOT 2
- Post installation script fails when using bun for windows HOT 9
- install module peer-dependencies HOT 2
- The problem of verifying whether it is a nuxt module when adding a module
- Analyze command should show descriptive file names
- I want to create a template I defined using the nuxi add command.
- Module adds to dependencies instead of devDependency HOT 2
- ERROR (node:52837) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated HOT 11
- `add` command creates `nuxt.config.ts` while `nuxt.config.js` exists HOT 2
- Allow to pass host und port arguments for `--inspect` for `nuxi dev` HOT 1
- dev --tunnel not working HOT 4
- Feature: nuxi typecheck certain files
- The nuxi preview command does not work with the custom nitro.output setting HOT 3
- nuxi init with npm is very slow HOT 5
- Weird behaviour of `nuxt typecheck` and '@nuxt/kit' in tsconfig.json compilerOptions.paths '#build/*' alias
- feat(cleanup): add args to the cleanup command to delete any files HOT 1
- Support HTTP proxy for all commands
- use project name for package.json name in init Command HOT 1
- addVitePlugin usage blocks Vite HMR fully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.