Coder Social home page Coder Social logo

Comments (13)

ennioVisco avatar ennioVisco commented on August 11, 2024 1

Also, thx @mshadowz for providing a workaround!

I suggest you re-enable Windows here:

os: [ubuntu-latest] # macos-latest, windows-latest temporarily disabled (https://github.com/nuxt/framework/issues/8461)

since nuxt/nuxt#15249 has been resolved!

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Thank you for reporting that issue. I currently do not have a Windows installation at hand, so whoever feels like submitting a PR is welcome to do so!

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

cc nuxt-modules/robots#86

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

@AndreasKubasa would you mind to check if #22 fixes the issue for you?

from nuxt-cookie-control.

AndreasKubasa avatar AndreasKubasa commented on August 11, 2024

@AndreasKubasa would you mind to check if #22 fixes the issue for you?

to be honest, I tested, but now it throws couple more other errors, so clearly changes something, I guess we need to trust :)

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Throwing a couple more errors is not necessarily a qualification for a merge, I reckon 😅😂 I'd merge it once I get feedback by the PR creator to open questions.

from nuxt-cookie-control.

oscarvadillog avatar oscarvadillog commented on August 11, 2024

PR #22 doesn't work for me either. Has anyone been able to fix it?

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Upstream issue

from nuxt-cookie-control.

mshadowz avatar mshadowz commented on August 11, 2024

yes. if we apply these changes in module.mjs f

addImports({
name: "useCookieControl",
as: "useCookieControl",
from: resolve(runtimeDir, "composables")
});

to this :

addImports({
name: "useCookieControl",
as: "useCookieControl",
from: resolver.resolve(runtimeDir, "composables")
});

and also change this :

const text = await import(await resolvePath(resolve(runtimeDir, "locale", locale))).then((r) => r.default || r);

to this :

const path = await resolvePath(resolver.resolve(runtimeDir, "locale", locale));
const finalPath = (process.platform == "win32") ? "file:///" + path : path;
const text = await import(finalPath).then((r) => r.default || r);

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Would you guys please try nuxt v3.2.3 with @dargmuesli/nuxt-cookie-module v5.0.1 and report if fixes in those releases resolve this issue?

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Also, thx @mshadowz for providing a workaround!

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

Please try v5.0.2 once released and report if the issue is resolved :)

from nuxt-cookie-control.

dargmuesli avatar dargmuesli commented on August 11, 2024

🎉 This issue has been resolved in version 5.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

from nuxt-cookie-control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.