Skip to content

Commit

Permalink
installs node@14.17.6 b/c node-sass & crypto complains
Browse files Browse the repository at this point in the history
I installed `npm install node@14.17.6 --save-exact`. I think subsequent `node install` should use exact node version because the former added `node: 14.17.6,` as a dependency in `package.json`
For a more recent node version two things need to happen:
- `node-sass` complained, so needs to be replaced with `sass` (e.g.^1.64.1) which is implemented with dart (pure-JavaScript package built from the Dart Sass)
- node 17 needs openSSL dependency for crypto module (is used by webpack server or sth like that). I could consider moving to vite instead of webpack
facebook/create-react-app#11708
https://stackoverflow.com/questions/73144960/error-error0308010cdigital-envelope-routinesunsupported-at-new-hash-nodei
  • Loading branch information
TobiObeck committed Jul 28, 2023
1 parent 7f069a4 commit 1a7606c
Show file tree
Hide file tree
Showing 3 changed files with 6,660 additions and 5,482 deletions.
Loading

0 comments on commit 1a7606c

Please sign in to comment.