Rayrun
← Back to Discord Forum

Please install @playwright test package

Hi everyone ! I'm coming to you because i'm in front of a problem. I try to run one of my test (which work perfectly last week) without success. What is the problem ? npx playwright test

Please install @playwright/test package before running "npx playwright test" npm uninstall playwright npm install -D @playwright/test

I try to do this commands but the problem is persisting I try to unistall the entire of my project, reinstall playwright, update the node and playwright version, try with yarn (I don't have yarn so it doesn't work of course), but I still have this error message...

Anyone have an idea ? (Apologize my language, I know it's not perfect)

This thread is trying to answer question "Why does the error message 'Please install @playwright/test package before running npx playwright test' persist despite following the suggested steps?"

3 replies

could you share how your package.json looks like?

{ "name": "novendro-automation-tests", "version": "1.0.0", "description": "", "main": "index.js", "scripts": {}, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "@playwright/test": "^1.36.2" } }

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].