Coder Social home page Coder Social logo

Comments (7)

LukeHosk avatar LukeHosk commented on September 25, 2024 3

Wes just found the same issue, and renaming postcss.config.js to postcss.config.cjs fixed it for me.

Interestingly, this only appears to be a problem on Windows, it worked fine on MacOS.

from next.js.

Its-Satyajit avatar Its-Satyajit commented on September 25, 2024

Thanks a bunch for letting me know!

So, in the next@canary version, renaming postcss.config.js to postcss.config.cjs did the trick for me! 🎉 However, when I tried it in the stable version [email protected], it ended up crashing. 😕

Guess I'll have to patiently wait for the stable release to sort things out.

Thanks again for keeping me in the loop!

from next.js.

bgw avatar bgw commented on September 25, 2024

The postcss.config.js file path issue should be resolved by #64386.

There's a segfault that occurs while compiling your project, which is being tracked in swc-project/swc#8840.

from next.js.

Its-Satyajit avatar Its-Satyajit commented on September 25, 2024

Thanks for the update! Appreciate the heads-up on the PostCSS path fix and the investigation into the segfault. Let me know if you need any further info from my end.

from next.js.

ezeamin avatar ezeamin commented on September 25, 2024

Hi! Here running [email protected], just updated, and the app that was working fine with <14.2 now doesn't. App is running on --turbo. The issue is also with the postcss.config.js file, renaming it to use .cjs solves the issue.

With webpack, it works fine too.

Edit: Tried it in 14.3.0-canary.4 and error is present too.

from next.js.

timneutkens avatar timneutkens commented on September 25, 2024

Combining #63755 and this one as they're the same issue 🙏

from next.js.

github-actions avatar github-actions commented on September 25, 2024

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

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.