glook / webpack-typescript-react

Webpack 5 boilerplate with support of most common loaders and modules (see tags and description)
MIT License
218 stars 54 forks source link

fix(build): update webpack and react-refresh deps #14

Closed mod3x closed 2 years ago

mod3x commented 3 years ago

Hey. I've updated some dependencies to fix #13. Thank you.

mod3x commented 3 years ago

Also #12 not showing up 🙈

sankarkumar23 commented 3 years ago

Still getting the below even after upgrade. Any insights?

image

mod3x commented 3 years ago

Still getting the below even after upgrade. Any insights?

image

Hey. Looks like youre using a nodejs version that does not support a Nullish coalescing operator. To fix it upgrade nodejs to minimum version 14, nvm is the easieset way to do so imo

mod3x commented 3 years ago

Also @glook looks like a good sign to fill the engines settings in package.json as nodejs 16 already becomes as LTS >=14.0.0 || >=16.0.0 should work just fine