Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright issue #18

Open
mo-tech55 opened this issue Sep 26, 2023 · 1 comment
Open

Playwright issue #18

mo-tech55 opened this issue Sep 26, 2023 · 1 comment

Comments

@mo-tech55
Copy link

root@v2202309155727239413:~/code/google-maps-scraper# go build
# github.com/gosom/scrapemate/adapters/fetchers/jshttp
vendor/github.com/gosom/scrapemate/adapters/fetchers/jshttp/jshttp.go:126:25: undefined: playwright.BrowserNewContextOptionsViewport
# github.com/gosom/google-maps-scraper/gmaps
gmaps/job.go:96:16: page.WaitForNavigation undefined (type playwright.Page has no field or method WaitForNavigation)
gmaps/job.go:96:45: undefined: playwright.PageWaitForNavigationOptions
gmaps/place.go:80:16: page.WaitForNavigation undefined (type playwright.Page has no field or method WaitForNavigation)
gmaps/place.go:80:45: undefined: playwright.PageWaitForNavigationOptions
root@v2202309155727239413:~/code/google-maps-scraper# 

I executed the commands from this section but get the above error. The error is on my debian server with go version 1.21.1. I have the same go version on my local machine and it worked there. I tried cleaning the cache wit these commands but it did not help
go clean -cache go clean -modcache

@gosom
Copy link
Owner

gosom commented Dec 12, 2023

Sorry for the very late reply here.

Have you fixed the issue?

This does not seem something code related but more like machine/environment.

if you are still in trouble give the docker a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants