Giter Site home page Giter Site logo

Comments (11)

Enkratia avatar Enkratia commented on September 13, 2024 2

@samcx new report is submitted: #69330

from next.js.

samcx avatar samcx commented on September 13, 2024 1

@Enkratia I can confirm this is still an issue.

It looks like this isn't an issue when you use Turbopack (next dev --turbo). Have you tried using that instead?

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024 1

@samcx i will write some of the errors here (in 12-24 hours).

  • Are you able to upgrade to the latest (canary): yes.
  • and/or React 19?: no (curent versions: "react": "^18.3.1", "react-dom": "^18")

from next.js.

samcx avatar samcx commented on September 13, 2024 1

@Enkratia Good finds! Is it possible to also submit a new 🐛 via the bug report so we I can share this with the Turbopack team?

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024 1

@samcx yes, i will try to make new report in 3-24 hours.

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024 1

@samcx thank you, solution is to use turbopack, no more errors right now.

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024

@samcx Thank you for response. Maybe, but in real world project i am getting too much errors when i use turbopack, and these errors are incompatible with next.js docs (and what is done with webpack). So i wish to use webpack atm.

from next.js.

samcx avatar samcx commented on September 13, 2024

@Enkratia which version of Next.js are you using?

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024

@samcx "next": "^14.2.4".

from next.js.

samcx avatar samcx commented on September 13, 2024

@Enkratia Are you able to upgrade to the latest (canary) and/or React 19? But even with 14.2.4, all the dev tests were passing in :turbopack-spin:, so curious what errors you were seeing.

from next.js.

Enkratia avatar Enkratia commented on September 13, 2024

@samcx i'm sorry for delay.

First two errors:

  1. When i add minimumCacheTTL: 31540000000 to nextConfig.images it gives an error:
  • invalid value: integer 31540000000, expected u32 at line 54 column 34] {
    code: 'GenericFailure'

** Yes, minimumCacheTTL is not needed in dev mode, so i can just create 2 different next.config.mjs (for dev/prod mode), but this is working with webpack without any problems.
** minimumCacheTTL: 3154000000 is working fine (one zero less).
** It might be related to BigInt.

  1. When i add icon.ico in app (as it is written here https://nextjs.org/docs/app/api-reference/file-conventions/metadata/app-icons) - i get this error:

Processing image failed
unable to decode image data

Caused by:

  • Format error decoding Ico: The PNG is not in RGBA format!
  • The PNG is not in RGBA format!

** New repro: https://github.com/Enkratia/css-reload-show-2
** This is the same repro as above, but with next changes:

  • added "dev:turbo": "next dev --turbo", to package.json.
  • added icon.ico to app directory.
  • added minimumCacheTTL: 31540000000 to nextConfig.images (in next.config.mjs).

from next.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.