epicweb-dev / full-stack-foundations

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

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

Closed Twintails closed 8 months ago

Twintails commented 9 months 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 8 months ago

Got this error as well.

But if you downgrade node to version 18.18.2 it works

kentcdodds commented 8 months ago

This should be fixed. Cheers!