question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Identifier 'xxx' has already been declared

See original GitHub issue

Environment

Nuxt CLI v3.0.0-rc.4                                                                                                                  20:29:45
RootDir: /Users/martindonadieu/Documents/Projects.nosync/Capacitor/nuxt-app                                                           20:29:48
Nuxt project info:                                                                                                                    20:29:48

------------------------------
- Operating System: `Darwin`
- Node Version:     `v16.15.0`
- Nuxt Version:     `3.0.0-rc.4`
- Package Manager:  `pnpm@7.2.1`
- Builder:          `vite`
- User Config:      `-`
- Runtime Modules:  `-`
- Build Modules:    `-`
------------------------------

👉 Report an issue: https://github.com/nuxt/framework/issues/new                                                                      20:29:48

👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new

👉 Read documentation: https://v3.nuxtjs.org

Reproduction

pnpm dlx nuxi init nuxt-app
cd nuxt-app
pnpm i
pnpm build

Describe the bug

When building, some dependencies are failing

Additional context

Screenshot 2022-06-13 at 20 29 16 and in old project i get Screenshot 2022-06-13 at 20 39 46

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:19
  • Comments:44 (14 by maintainers)

github_iconTop GitHub Comments

20reactions
pi0commented, Jun 15, 2022

Sorry for the regression 🙏🏼 Hotfix is released as nitropack@0.4.8. Please remove resolutions, and update the lock file either manually or using npx nuxi upgrade to receive the hotfix.

8reactions
misaoncommented, Jun 14, 2022

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identifier xxx has already been declared · Issue #5247 - GitHub
Describe the bug. If a reactive declaration is an assignment, Svelte automatically replaces $: with let in SSR mode if the variable on...
Read more >
SyntaxError: Identifier 'XXX' has already been declared
检查代码,出现了重复变量。解决代码冲突的时候,保留了双方变更,导致数据重复了,我吐了~
Read more >
SyntaxError: Identifier 'XXX' has already been declared
SyntaxError: Identifier 'XXX' has already been declared · Cannot redeclare classLoader() (previously declared in 错误解决方案.
Read more >
Javascript ES6 Destructuring - Identifier 'location' has already ...
This happens because location has already been declared on global scope, as window.location . To avoid this, this piece of code should not ......
Read more >
javascript identifier has already been declared class - 掘金
javascript identifier has already been declared class技术、学习、经验文章掘金开发者社区搜索结果。掘金是一个帮助开发者成长的社区,javascript identifier has ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found