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

Does Million not support Node v23? #1167

Open
Poolshark opened this issue Dec 30, 2024 · 8 comments
Open

Does Million not support Node v23? #1167

Poolshark opened this issue Dec 30, 2024 · 8 comments

Comments

@Poolshark
Copy link

I am not 100% certain, but either since I have updated Node and/or updated Million, my Next.js app is not running with Million anymore. Running the server throws this error

Error evaluating Node.js code
TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor

Usually, this indicates a problem with the Node version, right?

Thanks!

Version List
  • node v23.4.0
  • next v15.1.0
  • million v1.0.14

Mac
Chrome

Copy link

Thanks for opening this issue! A maintainer will review it soon.

@elliason
Copy link

elliason commented Jan 3, 2025

I have the same issue for:

  • node 22.12.0
  • @million/lint 1.0.14
  • next 15.1.3

@martingalovic
Copy link

martingalovic commented Jan 7, 2025

+1

  • node: v20.16.0
  • "@million/lint": "^1.0.14"
  • "million": "^3.1.11"

Running on Macbook Pro M3 Max

@mo-mainstream
Copy link

same here. does not work with node 18.18.0 either which is required by nextjs 15. running on windows.

@TruffleClock
Copy link

TruffleClock commented Jan 28, 2025

+1

  • node 23.6.1, 22.13.1, 20.18.2
  • next 15.1.6
  • @million/lint 1.0.14

@AnandChowdhary
Copy link

Thanks @aidenybai for your hard work, big fan of your Twitter! Just flagging for you since I'm seeing this as well with the latest deps:

  • node v22.13.1 (LTS)
  • next 15.1.6
  • @million/lint 1.0.14

@fedorivanenko
Copy link

fedorivanenko commented Jan 31, 2025

+1 for

  • node 20.12.2
  • next 15.1.6
  • @million/lint 1.0.14
  • pnpm
  • vscode

Updating to next v15.2.0-canary.33 helped resolve build issues, but the VSCode extension doesn't detect the dev server

@MNBoy
Copy link

MNBoy commented Feb 4, 2025

Hi everyone 🙌🏻

If you’re getting this error:

TypeError: 'process.env' only accepts a configurable, writable, and enumerable data descriptor

it’s because Turbopack doesn’t play well with @million/lint.

✅ Quick Fix: Add a Separate Dev Script

Instead of disabling Turbopack entirely, just add this to your package.json:

"scripts": {
  "dev": "next dev --turbopack",
  "million-dev": "next dev"
}

Now, run:

npm run million-dev

Hope this helps! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants