You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [email protected] build:prod
> npm run build:lib && npm run build:nbextension && npm run build:labextension
> [email protected] build:lib
> tsc
> [email protected] build:nbextension
> webpack --mode=production
[webpack-cli] /Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/webpack/lib/cli.js:68
/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Invalid regular expression: /(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/: Invalid property name
at new Script (node:vm:100:7)
at NativeCompileCache._moduleCompile (/Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/v8-compile-cache/v8-compile-cache.js:240:18)
at Module._compile (/Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/v8-compile-cache/v8-compile-cache.js:184:36)
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 (/Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at get cli (/Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/webpack/lib/index.js:129:10)
at Function.cli (/Users/lc/Documents/plotly.py/packages/javascript/jupyterlab-plotly/node_modules/webpack/lib/util/memoize.js:22:13)
rebuilding js and css failed (not a problem)
Command '['npm', 'run', 'build:prod']' returned non-zero exit status 2.
running updatebundle
running updateschema
running codegen
The text was updated successfully, but these errors were encountered:
LiamConnors
changed the title
SyntaxError: Invalid regular expression: when running python setup.py updateplotlyjs
Invalid regular expression error when running python setup.py updateplotlyjsApr 18, 2023
@nicolaskruchten have you encountered this issue before on the build? Initially I could recreate it locally but now it just seems to be in the release build on CI.
When running
python setup.py updateplotlyjs
, it throws this error:The text was updated successfully, but these errors were encountered: