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
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 13 new dependencies.
info Direct dependencies
└─ @sand4rt/experimental-ct-web@1.41.0
info All dependencies
├─ @esbuild/linux-x64@0.18.20
├─ @playwright/experimental-ct-core@1.43.0
├─ @rollup/rollup-linux-x64-gnu@4.14.2
├─ @rollup/rollup-linux-x64-musl@4.14.2
├─ @sand4rt/experimental-ct-web@1.41.0
├─ @types/estree@1.0.5
├─ esbuild@0.18.20
├─ nanoid@3.3.7
├─ picocolors@1.0.0
├─ postcss@8.4.38
├─ rollup@3.29.4
├─ source-map-js@1.2.0
└─ vite@4.5.3
Done in 2.74s.
Downloading browsers (yarn playwright install)…
yarn run v1.22.19
$ /home/florence/Test_poc/temp/playwright-project/node_modules/.bin/playwright install
node:internal/modules/cjs/loader:598
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli' is not defined by "exports" in /home/florence/Test_poc/temp/playwright-project/node_modules/@playwright/experimental-ct-core/package.json
at exportsNotFound (node:internal/modules/esm/resolve:303:10)
at packageExportsResolve (node:internal/modules/esm/resolve:650:9)
at resolveExports (node:internal/modules/cjs/loader:591:36)
at Module._findPath (node:internal/modules/cjs/loader:668:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/home/florence/Test_poc/temp/playwright-project/node_modules/@sand4rt/experimental-ct-web/cli.js:17:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v20.11.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command failed: yarn playwright install
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at executeCommands (/home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4519:39)
at Generator.run (/home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4679:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4977:3 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 29795,
stdout: null,
stderr: null
}
error Command failed.
Exit code: 1
Command: /home/florence/.yarn/bin/create-playwright
Arguments: --ct
Directory: /home/florence/Test_poc/temp/playwright-project
Output:
Indeed, this issue is present in @sand4rt/experimental-ct-web. @ErwanPiaut, could you transfer the issue to that repository?
I'm following Playwright's release cycle to prevent occurrences like this, but i'm currently unable to upgrade due to #30269. While this is the first time this has happened in a year, be aware that similar situations may arise in the future
Version
1.43.0
Steps to reproduce
Expected behavior
I expect the installation to work.
Actual behavior
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 13 new dependencies.
info Direct dependencies
└─ @sand4rt/experimental-ct-web@1.41.0
info All dependencies
├─ @esbuild/linux-x64@0.18.20
├─ @playwright/experimental-ct-core@1.43.0
├─ @rollup/rollup-linux-x64-gnu@4.14.2
├─ @rollup/rollup-linux-x64-musl@4.14.2
├─ @sand4rt/experimental-ct-web@1.41.0
├─ @types/estree@1.0.5
├─ esbuild@0.18.20
├─ nanoid@3.3.7
├─ picocolors@1.0.0
├─ postcss@8.4.38
├─ rollup@3.29.4
├─ source-map-js@1.2.0
└─ vite@4.5.3
Done in 2.74s.
Downloading browsers (yarn playwright install)…
yarn run v1.22.19
$ /home/florence/Test_poc/temp/playwright-project/node_modules/.bin/playwright install
node:internal/modules/cjs/loader:598
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli' is not defined by "exports" in /home/florence/Test_poc/temp/playwright-project/node_modules/@playwright/experimental-ct-core/package.json
at exportsNotFound (node:internal/modules/esm/resolve:303:10)
at packageExportsResolve (node:internal/modules/esm/resolve:650:9)
at resolveExports (node:internal/modules/cjs/loader:591:36)
at Module._findPath (node:internal/modules/cjs/loader:668:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/home/florence/Test_poc/temp/playwright-project/node_modules/@sand4rt/experimental-ct-web/cli.js:17:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v20.11.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command failed: yarn playwright install
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at executeCommands (/home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4519:39)
at Generator.run (/home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4679:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/florence/.config/yarn/global/node_modules/create-playwright-sand4rt/lib/index.js:4977:3 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 29795,
stdout: null,
stderr: null
}
error Command failed.
Exit code: 1
Command: /home/florence/.yarn/bin/create-playwright
Arguments: --ct
Directory: /home/florence/Test_poc/temp/playwright-project
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: