Open ravibhalodia opened 4 years ago
Hey @ravibhalodia, did you try running magepack in debug mode? It looks like it is not able to reach your shop's URL or something.
its developer mode - i have problem/ help me please
I am facing the same problem and don't understand why it refused my local path
Same issue from inside Docker container. Ping of domain-name is well. Web-shop opened in browser as well.
Has anybody found a way to run this at least on localhost?
Getting the same error on localhost inside Docker container
@phpWebStudio @honganhnguyen-lab @sarootua @krzksz
UPDATE:
looks like this is going to be a struggle to get it running on docker environment. Downloaded Windows NodeJS application, then ran the installation of Magepack. Ran generation under PowerShell. You will need to do this:
Set-ExecutionPolicy RemoteSigned
magepack generate --cms-url="http://localhost/cms/" --category-url="http://localhost/category-page.html" --product-url="http://localhost/product-page.html"
Set-ExecutionPolicy Restricted
you need to add docker container IP address to /etc/hosts. to get ip: docker inspect \ -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id (it helped me!)
Hello team,
I am getting following error when running magepack generate command
net::ERR_CONNECTION_REFUSED at https://domain name/index.php/women.html 05:35:05
at navigate (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/FrameManager.js:120:37) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at Frame. (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/helper.js:111:15)
at Page.goto (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/Page.js:672:49)
at Page. (/usr/lib/node_modules/magepack/node_modules/puppeteer/lib/helper.js:112:23)
at Object.category (/usr/lib/node_modules/magepack/lib/generate/collector/category.js:36:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
Any idea why I am getting this error?
Thanks,