webdriverio/webdriverio
在 GitHub 查看Wdio v8.x to v9.x - —import not allowed with NODE_OPTIONS on pipeline for browserstackLocal tunnel
Open
#14,778 创建于 2025年9月23日
Bug 🐛help wantedwdio-browserstack-service
描述
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
9.19.2
Node.js Version
nodejs-1.5.5 , node 20.19.0 and 20.x.x
Mode
Standalone Mode
Which capabilities are you using?
)
);
What happened?
With webdriverIO version update from 8.40.6 to 9.19.2 , facing error while running on pipeline: attaching the error below. "@wdio/appium-service": "9.19.2", "@wdio/browserstack-service": "9.19.2", "@wdio/cli": "9.19.2", "@wdio/local-runner": "9.19.2", "@wdio/mocha-framework": "9.19.2", "@wdio/spec-reporter": "9.19.2",
Error while trying to execute binary Error: Command failed: /root/.browserstack/BrowserStackLocal --daemon start --log-file /tmp/build/ffa2fcdb/repo/tests/e2e/local.log --source nodejs-1.5.5 --key ((redacted)) --force-local --local-identifier 504d75e9-2cb1-4104-a04e-0ca0dab1e3cf
[14:47:46](https://concourse/teams/digital-technology/pipelines/*-automation/jobs/ios-
/root/.browserstack/BrowserStackLocal: --import is not allowed in NODE_OPTIONS
What is your expected behavior?
after the upgrade wdio libraries to v9, tests should run as before. on pipeline
How to reproduce the bug.
/root/.browserstack/BrowserStackLocal: --import is not allowed in NODE_OPTIONS
Relevant log output
2025-09-23T13:47:45.308Z WARN @wdio/browserstack-service: Accessibility Automation will run only on Chrome browsers.
14:47:46
Error while trying to execute binary Error: Command failed: /root/.browserstack/BrowserStackLocal --daemon start --log-file /tmp/build/ffa2fcdb/repo/tests/e2e/local.log --source nodejs-1.5.5 --key ((redacted)) --force-local --local-identifier 504d75e9-2cb1-4104-a04e-0ca0dab1e3cf
14:47:46
/root/.browserstack/BrowserStackLocal: --import is not allowed in NODE_OPTIONS
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues