← Back to Discord Forum

install playwright error-The term 'npm' is not recognized

chunlinzhouposted in #help-playwright
Open in Discord

Seems like node is not installed or your env is not referencing it?

This thread is trying to answer question "How to resolve the error 'npm is not recognized' when trying to install Playwright?"

3 replies

npm init playwright@latest --yes -- --quiet --no-browsers --gha npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again. At line:1 char:1

  • npm init playwright@latest --yes -- --quiet --no-browsers --gha
  • + CategoryInfo          : ObjectNotFound: (npm:String
     ) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

same here , how du fix it

Related Discord Threads

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 luc@ray.run.