Apify Discord Mirror

Updated 5 months ago

Trouble installing scrapy through npx

At a glance

The community member is trying to install the Crawlee library using the npx crawlee create my-crawler command, but is encountering an issue where npx cannot find npm. The community member is running on a Windows 11 machine, using Visual Studio Code and PowerShell. In the comments, another community member has provided a solution, stating that the issue was resolved by running npm install crawlee playwright first, though they are unsure why this step is not mentioned in the tutorial.

I'm trying to install crawlee through npx crawlee create my-crawler but it seems like npx can't find npm. (no such file or directory, lstat 'C:\users\ethan\AppData\Roaming\npm')

npm -v works fine, v18.17.1
I'm running on a windows 11 machine, from visual studio code with powershell.
l
1 comment
solved - needed to run npm install crawlee playwright first. I'm not sure why its not mentioned in the tutorial
Add a reply
Sign up and join the conversation on Discord