puppeteer-lambda-starter-kit icon indicating copy to clipboard operation
puppeteer-lambda-starter-kit copied to clipboard

Cannot Create Package: 'eslint' is not recognized as an internal or external command

Open treatmet opened this issue 7 years ago • 1 comments

When following installation instructions, I am unable to create a package using 'npm run package', even with the initial, simple index.js script that is included. I get the error:

''eslint' is not recognized as an internal or external command' pup-lambda-error

Is eslint required to be installed for this utility? Even after installilng eslint, I am met with more errors:

pup-lambda-error2

This is all before even trying to do anything complex with puppeteer! What am I missing?

Running on Windows 10, using Node version 8.

treatmet avatar Feb 17 '18 21:02 treatmet

It is very hard to make that work as the library is written based on authors lint rules so go to package.json file and remove npm run lint from package-prepare script

Praveena0989 avatar Feb 26 '18 09:02 Praveena0989