Bump and fix dependencies #7

Open
opened 2025-07-08 08:33:55 -04:00 by AtHeartEngineer · 0 comments

Originally created by @J08nY on 12/7/2022

Since JavaScript dependency management is straight from hell this page has some outdated dependencies. When I tried to bump them to something reasonable I encountered the most ridiculous amount of errors (see below).

Screenshot from 2022-12-07 16-00-59

Even after somewhat fixing those, the Gatsby site still won't build. It keeps failing on some webpack issues with:

ERROR #98124  WEBPACK.BUILD-JAVASCRIPT

Generating JavaScript bundles failed

Can't resolve 'react-dom/client' in 'std-curves/.cache'

If you're trying to use a package make sure that 'react-dom/client' is installed. If you're trying to use a local file make sure that the path is correct.

File: .cache/react-dom-utils.js:1:77


 ERROR #98123  WEBPACK.BUILD-JAVASCRIPT

Generating JavaScript bundles failed

std-curves/src/footer.mdx: Unexpected character '©'. (1:1)

> 1 |  © 2020 [Jan Jancar](https://neuromancer.sk) | Built with [Dox theme](https://github.com/MunifTanjim/gatsby-theme-dox) for 
[Gatsby](https://www.gatsbyjs.org)
    |  ^
  2 |

File: src/footer.mdx:1:1


 ERROR #98123  WEBPACK.BUILD-JAVASCRIPT

Generating JavaScript bundles failed

std-curves/src/sidebar.mdx: Unterminated regular expression. (1:12)

> 1 | - [Curves](/)
    |             ^
  2 |   - [ANSI X9.62](/x962/)
  3 |   - [ANSI X9.63](/x963/)
  4 |   - [ANSSI](/anssi/)

File: src/sidebar.mdx:1:12

I give up trying to do this. JavaScript is cursed. Never again.

*Originally created by @J08nY on 12/7/2022* Since JavaScript dependency management is straight from hell this page has some outdated dependencies. When I tried to bump them to something reasonable I encountered the most ridiculous amount of errors (see below). ![Screenshot from 2022-12-07 16-00-59](https://user-images.githubusercontent.com/1296726/206219236-97c9f8f6-1327-49fb-b573-365cc4d5bb8f.png) Even after somewhat fixing those, the Gatsby site still won't build. It keeps failing on some webpack issues with: ``` ERROR #98124 WEBPACK.BUILD-JAVASCRIPT Generating JavaScript bundles failed Can't resolve 'react-dom/client' in 'std-curves/.cache' If you're trying to use a package make sure that 'react-dom/client' is installed. If you're trying to use a local file make sure that the path is correct. File: .cache/react-dom-utils.js:1:77 ERROR #98123 WEBPACK.BUILD-JAVASCRIPT Generating JavaScript bundles failed std-curves/src/footer.mdx: Unexpected character '©'. (1:1) > 1 | © 2020 [Jan Jancar](https://neuromancer.sk) | Built with [Dox theme](https://github.com/MunifTanjim/gatsby-theme-dox) for [Gatsby](https://www.gatsbyjs.org) | ^ 2 | File: src/footer.mdx:1:1 ERROR #98123 WEBPACK.BUILD-JAVASCRIPT Generating JavaScript bundles failed std-curves/src/sidebar.mdx: Unterminated regular expression. (1:12) > 1 | - [Curves](/) | ^ 2 | - [ANSI X9.62](/x962/) 3 | - [ANSI X9.63](/x963/) 4 | - [ANSSI](/anssi/) File: src/sidebar.mdx:1:12 ``` I give up trying to do this. JavaScript is cursed. Never again.
AtHeartEngineer added the bughelp wanted labels 2025-07-08 08:33:56 -04:00
Sign in to join this conversation.