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

[Question] Playwright-Docker help needed #1973

Closed
barakbs1 opened this issue Apr 24, 2020 · 0 comments
Closed

[Question] Playwright-Docker help needed #1973

barakbs1 opened this issue Apr 24, 2020 · 0 comments

Comments

@barakbs1
Copy link

barakbs1 commented Apr 24, 2020

Hi everyone,
I'm a newbie to docker, and I've tried running my tests on docker local container with not much success. I've wen't through this documentation: https://github.com/microsoft/playwright/tree/master/docs/docker
And got to this point:
pwuser@c5275aa66a9d:/$

I've tried running npm run test command, but got this:

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pwuser/.npm/_logs/2020-04-24T23_45_48_490Z-debug.log

Of course I have a package.json script in the docker image (or at least in the folder I used to create the docker image from)

Thank you all for your kind help (I love playwright BTW!)

@barakbs1 barakbs1 changed the title Help please [Question] Playwright-Docker Help please [Question] Apr 24, 2020
@barakbs1 barakbs1 changed the title Playwright-Docker Help please [Question] Playwright-Docker help needed [Question] Apr 24, 2020
@barakbs1 barakbs1 changed the title Playwright-Docker help needed [Question] [Question] Playwright-Docker help needed Apr 25, 2020
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

1 participant