epicweb-dev / full-stack-foundations

Learn the foundational skills of building full stack web applications.
https://epicweb.dev/workshops/full-stack-foundations
Other
599 stars 157 forks source link

Support for Node 18.19 with NPM 10 bundled in lts/hydrogen release Nov. 29, 2023 #71

Closed Twintails closed 11 months ago

Twintails commented 1 year ago

Node 18.19 dropped last week with NPM 10 bundled.

current: when attempting to run npm start while based in Node 18.19 engine env an Error is reported Ref Image:

terminal of node internal process esm loader ERROR

NPM 10, it seems, is errantly reporting a deprecation incoming for Node 20.6 regarding --loader flag on commands

Expected: App launches like it would in Node < 18.19 as per run reqs.

kevinbailey25 commented 11 months ago

Got this error as well.

But if you downgrade node to version 18.18.2 it works

kentcdodds commented 11 months ago

This should be fixed. Cheers!