blackboard / lambda-selenium

Use Selenium Webdriver and Chrome inside AWS Lambda
MIT License
230 stars 51 forks source link

package.json for nodejs version #37

Open btn-cai opened 6 years ago

btn-cai commented 6 years ago

I need to recreate the contents of node_modules using npm so I don't have to include the entire node_modules folder in source control. Can you please share the package.json used to create the nodejs lambda? Thank you so much for sharing your work on this project!

Edit: I've used npm shrinkwrap to ensure all dependencies are the correct version however I the selenium-webdriver@3.4.0 dependency still doesn't resolve to the version that is included in your project. When I run npm install and replace generated node_modules/selenium-webdriver with the version that you provide it works.

codetherus commented 6 years ago

I haven't tried it, but I think that's because of the new version of selenium-webdriver is not compatible with chromedriver version supplied in lib. Change chromedriver version and that should work.