Skip to content

The package is not installing on a project with Angular 19. It just installs the vanilla Playwright #147

Description

@Andrey-Kachow

I run the command in the README, but no package was added. The "@playwright/test": "^1.58.2", was already there, but the expected @sand4rt/experimental-ct-angular wasn't installed.

Operating System: Windows 11
Angular version: 19.2.19
Using Node v24.3.0

PS C:\path\to\my\project> npm init playwright-sand4rt@latest -- --ct
npm warn Unknown cli config "--ct". This will stop working in the next major version of npm.

> lingo-ui@0.0.0 npx
> create-playwright

Getting started with writing end-to-end tests with Playwright:
Initializing project in '.'
√ Where to put your end-to-end tests? · websrc/e2e
√ Add a GitHub Actions workflow? (y/N) · false
√ Install Playwright browsers (can be done manually via 'npx playwright install')? (Y/n) · false
Installing Playwright Test (npm install --save-dev @playwright/test)…
npm warn Unknown env config "ct". This will stop working in the next major version of npm.

up to date, audited 1391 packages in 7s

259 packages are looking for funding
  run `npm fund` for details

10 vulnerabilities (4 low, 2 moderate, 4 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
√ C:\path\to\my\project\playwright.config.ts already exists. Override it? (y/N) · false
√ C:\path\to\my\project\websrc\e2e\example.spec.ts already exists. Override it? (y/N) · false
√ C:\path\to\my\project\tests-examples\demo-todo-app.spec.ts already exists. Override it? (y/N) · false

Writing package.json.
✔ Success! Created a Playwright Test project at C:\path\to\my\project

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions