-
So I have a dependency that uses chromedriver, but the version that was installed with that only supports up to v88. I tried to remedy this by installing chromedriver myself and the package-lock.json reflects this change and shows 98.0.1 as well as the package.json. However, whenever I run my dependencies module that uses chromedriver I get the following SessionNotCreatedError:
So apparently, the newest version of chromedriver isn't actually installed... even though my package-lock.json says it is. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind... I figured it out. It is the way modules work in dependencies that got me. For people who want to know, I was updating chrome driver in my node_module folder, and not the dependencies node_module folder. Had to cd into the dependency and run npm update again and it worked right away. Am new to node.js so sorry about that. |
Beta Was this translation helpful? Give feedback.
Nevermind... I figured it out. It is the way modules work in dependencies that got me. For people who want to know, I was updating chrome driver in my node_module folder, and not the dependencies node_module folder. Had to cd into the dependency and run npm update again and it worked right away.
Am new to node.js so sorry about that.