Build fails on node 20 (node-sass version in package-lock.json stops working after node 18) · Issue #362 · nytimes/library · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jpmckinney, thanks for the issue. We currently we officially support 14.x, 16.x, 18.x, but will definitely look into getting node 20 working now that it's LTS!
I'm actually experiencing this on node 16 as well, even though it's officially supported. The only way I was able to fix it was to completely replace node-sass (which is deprecated anyways) with dart-sass. I can make a PR if that helps.
Hi — I haven't had much time to look into our Node compatibility, but this is definitely something we will need to look into as Node 18 enters the the end of its maintenance period.
Uh oh!
There was an error while loading. Please reload this page.
Context (Environment)
All in issue title.
Expected Behavior
Build succeeds on node 20.
Actual Behavior
Build fails on node 20.
To Reproduce
npm run build:main && npm run build:inline
on node 20.Additional Information
N/A
Possible Solution
Not sure - maybe have branches/releases for node20 and node18, since they require different package-lock.json.
My current workaround is just to lock the engine to 18 in both package files (smallest edit).
The text was updated successfully, but these errors were encountered: