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

Cannot read property 'readFile' of undefined #995

Closed
Amunamkhan opened this issue Oct 28, 2020 · 3 comments
Closed

Cannot read property 'readFile' of undefined #995

Amunamkhan opened this issue Oct 28, 2020 · 3 comments

Comments

@Amunamkhan
Copy link

Hi,
When I am trying to wa-automate-nodejs demo.Iam getting below erorr.

EV Cannot read property 'readFile' of undefined customer-support STARTUP

Error Cannot read property 'readFile' of undefined

@smashah
Copy link
Member

smashah commented Oct 29, 2020

@Amunamkhan

I'm pretty sure this is related to puppeteer/puppeteer#6548

which is fixed in the latest version of puppeteer (#993)

I will merge this PR but it wont be live till the next release.

For now, I would suggest making sure you're using nodejs version 12.18.3+ with this library as mentioned in the README.

@smashah
Copy link
Member

smashah commented Nov 2, 2020

@Amunamkhan puppeteer has been updated on the latest version. Please update to 3.0.8 and try again
Report back if still happening.

@smashah smashah closed this as completed Nov 2, 2020
@Amunamkhan
Copy link
Author

Yes, it's working fine now, this is issue was coming due to the Lower node version.

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