Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix imports after Nuxt 3.17.6 in dev mode#1628

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Tkkg1994 wants to merge2 commits intovuejs:main
base:main
Choose a base branch
Loading
fromTkkg1994:main

Conversation

Tkkg1994
Copy link

No description provided.


if(isDev){
// Use require in development mode to work around Vite environment changes
adminAppModule=require('firebase-admin/app')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks but this doesn't look like the right fix...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the feedback. It works, but if you got another idea let me know so I can test / try it out. What was in your mind?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Maybe Nuxt/vite are not resolving correctly something. Sometimes some unintuitive workarounds are needed in Nuxt modules to avoid duplication or resolving the wrong version. You can see it here and in pinia modules. Good luck!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@posvaposvaposva left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Tkkg1994@posva

[8]ページ先頭

©2009-2025 Movatter.jp