GithubHelp home page GithubHelp logo

Comments (6)

huang-julien avatar huang-julien commented on August 27, 2024

https://stackblitz.com/edit/nuxt-starter-9g1eks?file=README.md

from nuxt.js.

MacjaZival avatar MacjaZival commented on August 27, 2024

https://stackblitz.com/edit/nuxt-starter-9g1eks?file=README.md

I don't know if this is just a sandbox for other people to try the bug or if it is meant to be a solution but it fails with the same error as before (locally and on StackBlitz).

from nuxt.js.

ttisak avatar ttisak commented on August 27, 2024

I encountered the same issue in recent days, although the provided example is also failing in the development environment (because of SSR). Here is a working example (in development), but with the same issues in production as described by @MacjaZival.

https://stackblitz.com/edit/nuxt-starter-dwx7jw?file=app.vue

from nuxt.js.

danielroe avatar danielroe commented on August 27, 2024

This is likely an upstream bug either in device-uuid or in Nitro.

Would you see if you can reproduce this in pure Nitro (reproduction sandbox)?

from nuxt.js.

MacjaZival avatar MacjaZival commented on August 27, 2024

I do not understand how the web server could impact a package only used on the client. My first assumption was that something went wrong with bundling. Also if it is a problem with device-uuid (that was last updated 7 years ago) why was it working a few days ago and then suddenly stopped and also why does it still work in development (and not in production)?

I would love to try and reproduce it in the reproduction sandbox but I don't know what I am trying to reproduce here... as I stated this package is only meant to be used on the client. If I am missing something here please explain it to me 😅.

from nuxt.js.

NamesMT avatar NamesMT commented on August 27, 2024

@MacjaZival

This worked a few days ago but now does not anymore, I tried different nuxt versions
Why was it working a few days ago and then suddenly stopped and also why does it still work in development (and not in production)?

This means the problem could be a recent update in Nuxt's sub-dependency (could be Nitro in this case, as development is working and build is not).

I also encounter a similar issue with nano-memoize and have created an issue over at Nitro: unjs/nitro#2629, might be worth adding to your watchlist

from nuxt.js.

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.