-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): update changelog and bump version to 12.1.9
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of this update, "webdriver-manager update" fails with:
Error: Cannot find module 'rimraf'
fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bparrish99, I don't believe this version should change anything with repsect to
rimraf
, and testing it out works for me as expected. If this is still happening for you, can you create a minimal reproduction and file an issue about it?fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's interesting. If I specify the version 12.1.9 when I install, it works fine. But if I install just with "npm i -g webdriver-manager", running any webdriver-manager command throws the error.
I can move this over to an issue unless I'm just doing something dumb.
Screen.Recording.2023-02-09.at.3.40.27.PM.mp4
fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi bparrish99,
After watching the video,
webdriver-manager
by itself is not a valid command. Maybe try to use a command likewebdriver-manager update
? Why it can't find therimraf
node module is unusual since it is a dependency defined in the package.json. Maybe if you triedwebdriver-manager clean
, that should use the rimraf module to remove files.fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am able to reproduce on
[email protected]
. I think yournpm install -g webdriver-manager
was pulling in the latest version, which is13.0.1
, not12.1.9
.Interestingly, it looks like
rimraf
is listed as a dev dependency in13.0.1
(unpkg) and so would not be installed in this context. It's also a dev dependency in13.0.0
, but I can't reproduce the error with that version, so I'm guessing we're notrequire()
-ing it in13.0.0
.I think this was introduced by e2c7d2b, an older commit but left over after
13.0.0
and never released. Our options are either:rimraf
to regular dependencies and hope none of the other commits after13.0.0
have any bugs.13.0.0
and just land theadm-zip
dependency bump.fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted all the unreleased commits after
13.0.0
except for theadm-zip
bump and published that as13.0.2
. With that I'm able to install and update as expected. Hopefully that should fix your issue @bparrish99.fff7682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!