Comments (7)
have you run the program using "pnpm dev"?
from nuxt3-awesome-starter.
have you run the program using "pnpm dev"?
from nuxt3-awesome-starter.
I didn't, so I run in console then the bug disapears :o
But why? I have another project I installed with yarn and "yarn dev" did not fix that bug. Do you add something in this app cause pnpm dev fix the issue, or it's just pnpm?
from nuxt3-awesome-starter.
Oh ah no, if I do yarn dev, then reopen vscode it works again... seems to be a nuxt strange issue so I can close
from nuxt3-awesome-starter.
as I wrote in the readme,
this project was created using pnpm, because pnpm has a different working concept than yarn and npm so it might cause problems if not using pnpm in projects that use pnpm.
from nuxt3-awesome-starter.
and this is actually a type problem.
nuxt typescript of course uses the types definition, and it will only be generated when you have run the program using "pnpm dev" because of our need for development.
the dev command will run nuxt and automatically generate types in the ".nuxt" folder.
if this folder does not exist, then this project will certainly display error problems, namely types are not defined in various functions.
from nuxt3-awesome-starter.
or you can use "npx nuxi prepare" for only generate types.
from nuxt3-awesome-starter.
Related Issues (20)
- Change default Nav Logo
- ERROR No "exports" main defined in /Users/****/node_modules/@nuxt/kit/package.json HOT 3
- V2 Major Update HOT 4
- [unhandledRejection] Cannot set headers after they are sent to the client HOT 9
- 请问一下,如果打包npm run build 发生错误,说 no such file or directory, open 'D:/visual/\u535A\u5BA2/boke/pages/login.vue' HOT 1
- Nuxt Awesome Modules Core
- Document not found when deploying the project HOT 1
- Sunsetting Windi HOT 3
- ERROR Cannot find module 'unplugin-vue-components/vite' HOT 1
- pnpm run dev cannot run project HOT 3
- [Question] Has eslint already been implemented in the starter? HOT 2
- How to deploy this project to my own server? HOT 1
- Question: why are pages in different folders? HOT 1
- ESlint not working in non root folder HOT 1
- yarn add @nuxt-awesome/theme causes error in my project HOT 2
- Do u plan to implement @nuxtjs/i18n
- Execute command: yarn dev, Warning prompt: WARN warning: LintOnStart is turned on, and it will check for all matching files. come from Plugin: vite-plugin-eslint
- How to make it compatible with Internet Explorer?
- how to deplement
- ELIFECYCLE Command failed. while PNPM install - Running postinstall script... ELIFECYCLE Command failed. HOT 2
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 nuxt3-awesome-starter.