andreassamoilov / AzChat

AzChat - Chat with Azure OpenAI Service
MIT License
4 stars 0 forks source link

Invalid property name in character class #1

Open DominicNoyes opened 1 month ago

DominicNoyes commented 1 month ago

npm start

azure-gpt4-chatbot@0.1.0 start react-scripts start

/Users/meadlai/git/AzChat/nodemodules/webpack/lib/RuntimeTemplate.js:70 /^[\p{L}][_0-9\p{L}]*$/iu.test(trimmed) || ^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Invalid regular expression: /^[_\p{L}][_0-9\p{L}]*$/: Invalid property name in character class at internalCompileFunction (node:internal/vm:73:18) at wrapSafe (node:internal/modules/cjs/loader:1176:20) at Module._compile (node:internal/modules/cjs/loader:1218:27) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object. (/Users/meadlai/git/AzChat/node_modules/webpack/lib/Compilation.js:54:25)

DominicNoyes commented 1 month ago

npm -version: 9.6.5 node --version: v18.15.0

andreassamoilov commented 1 month ago

@DominicNoyes I recommend trying to upgrade your Node.js version and then reinstalling the dependencies.