-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Commands:
npm ci --no-audit --no-fund --verbose
npm run buildCommit: 5125c4a.
Environment:
- Docker: node:22.22.1-alpine3.22 and node:22.22.1.
- Host: Windows 11 node:22.22.1 via nvm-windows on MSYS2 CLANG64.
Both environments fail.
Docker:
=> [build 4/5] RUN --mount=id=npm-cache,target=/root/.npm,type=cache npm ci --no-audit --no-fund --verbose 10.5s
=> ERROR [build 5/5] RUN npm run build 3.0s
------
> [build 5/5] RUN npm run build:
0.511
0.511 > playwright.dev@0.0.0 build
0.511 > tsc && rimraf -g build && npm run build-nodejs && npm run build-python && npm run build-java && npm run build-dotnet
0.511
2.913 node_modules/@docusaurus/module-type-aliases/src/index.d.ts(45,15): error TS1259: Module '"react-loadable"' can only be default-imported using the 'esModuleInterop' flag
2.913 node_modules/@docusaurus/module-type-aliases/src/index.d.ts(327,15): error TS1259: Module '"react-loadable"' can only be default-imported using the 'esModuleInterop' flag
2.913 node_modules/@docusaurus/module-type-aliases/src/index.d.ts(417,18): error TS2300: Duplicate identifier 'default'.
2.913 node_modules/@docusaurus/module-type-aliases/src/index.d.ts(425,18): error TS2300: Duplicate identifier 'MDXContent'.
2.913 node_modules/@docusaurus/theme-classic/src/theme-classic.d.ts(1543,35): error TS2307: Cannot find module '@docusaurus/theme-common/internal' or its corresponding type declarations.
...and so on, eventually arriving at "error TS17004: Cannot use JSX unless the '--jsx' flag is provided" for each use of JSX in the src folder.
Host:
> playwright.dev@0.0.0 build
> tsc && rimraf -g build && npm run build-nodejs && npm run build-python && npm run build-java && npm run build-dotnet
> playwright.dev@0.0.0 build-nodejs
> npm run cleanup && cp -r nodejs/* . && node --max-old-space-size=4096 node_modules/.bin/docusaurus build --out-dir=build
> playwright.dev@0.0.0 cleanup
> rimraf -g docs versioned_docs versioned_sidebars docusaurus.config.ts versions.json sidebars.js
C:\msys64\home\user\playwright.dev\node_modules\.bin\docusaurus:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
Note: this is the first failed Docusaurus build I had :/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels