Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Npx does not work #7

Open
JJooaa opened this issue Apr 8, 2024 · 1 comment
Open

Npx does not work #7

JJooaa opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JJooaa
Copy link

JJooaa commented Apr 8, 2024

npx finder-scraper https://www.finder.fi/search\?what\=verkkokaupat test3.csv ok | 21.7.1 node
/Users/joaleitola/.npm/_npx/ce29e63ff798c261/node_modules/.bin/finder-scraper: line 1: syntax error near unexpected token (' /Users/joaleitola/.npm/_npx/ce29e63ff798c261/node_modules/.bin/finder-scraper: line 1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {'

@Kalhama Kalhama added the bug Something isn't working label Apr 8, 2024
@Kalhama
Copy link
Owner

Kalhama commented Apr 9, 2024

I'll look into this, but a workaround is to use pnpm dlx. So your command would look like

pnpm dlx finder-scraper https://www.finder.fi/search\?what\=verkkokaupat test3.csv

@Kalhama Kalhama changed the title Hey this issue comes up when trying to run the following code Npx does not work May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants