Error Loading images in css using resource relative path ../

OK, just finished all of that and then when I got to the final step in those instructions ‘npm run build’ then I get this error:

[username]@Naomis-MBP [theme-name] % npm run build

[email protected] build /Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]
webpack --progress --config resources/assets/build/webpack.config.js

[webpack-cli] SyntaxError: Invalid regular expression: /(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/: Invalid escape
    at pathToArgumentName (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:66:4)
    at addFlag (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:170:16)
    at traverse (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:243:21)
    at traverse (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:299:23)
    at traverse (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:248:24)
    at Object.getArguments (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack/lib/cli.js:308:2)
    at WebpackCLI.getBuiltInOptions (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack-cli/lib/webpack-cli.js:591:47)
    at loadCommandByName (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack-cli/lib/webpack-cli.js:732:38)
    at Command.program.action (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack-cli/lib/webpack-cli.js:1260:23)
    at Command.listener [as _actionHandler] (/Users/[username]/Websites/[website-name]/wp-content/themes/[theme-name]/node_modules/webpack-cli/node_modules/commander/index.js:922:31)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `webpack --progress --config resources/assets/build/webpack.config.js`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/[username]/.npm/_logs/2021-05-24T13_15_14_071Z-debug.log
[username]@Naomis-MBP [theme-name] %