Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SyntaxError head script in Nuxt Bridge #181

Open
priverop opened this issue Dec 15, 2022 · 2 comments
Open

Uncaught SyntaxError head script in Nuxt Bridge #181

priverop opened this issue Dec 15, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@priverop
Copy link

After installing this module I get this error in the console: "Uncaught SyntaxError: Identifier 'w' has already been declared". I feel like it's trying to add the head script twice. Not sure.

Version

@nuxtjs/color-mode: 3.2.0
nuxt-edge: latest (2.16.0-27720022.54e852f in the yarn.lock)

Reproduction Link

I created a minimal Github repo to reproduce the error.

Steps to reproduce

  1. Yarn install
  2. Yarn dev
  3. Open the project in the browser
  4. Open the console

What is Expected?

I expect no errors to show.

What is actually happening?

I get a syntaxerror.

@priverop priverop added the bug Something isn't working label Dec 15, 2022
@ThomasSimonsen20
Copy link

Did you figure something out here? I've run into the same issue

@priverop
Copy link
Author

priverop commented May 4, 2023

No progress I'm sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants