My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMSย for Enterprise.
Upgrade โœจLearn more
Hardik Chotaliya

4 comments

Valentyna
Valentyna
Feb 21, 2024

Hello! thank you for helpful guide. But I stuck while migration to V8, maybe you faced same issue or maybe you have an advice what to do? The error: Package subpath './build/commands/element/waitForDisplayed' is not defined by "exports" in C:\Users*\Desktop*\node_modules\webdriverio\package.json

2
ยท
ยท3 replies
Hardik Chotaliya
Hardik Chotaliya
Author
ยทFeb 23, 2024

It seems like the issue is with your import statement. As per the given error, it is seen that you are using commonjs which is not supported by the latest version!

ยท
Valentyna
Valentyna
Feb 26, 2024

Hardik Chotaliya Indeed, I've found some strange imports, everything works after deleting them. Thank you for reply :)

1
ยท
Hardik Chotaliya
Hardik Chotaliya
Author
ยทFeb 27, 2024

Oh great. :) Valentyna

ยท