You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
This one is weird. Docker image node:16 or node:18.
Running yarn install I get the following on this:
[1/5] ⠄ appium-chromedriver
[2/5] ⠄ sharp
[3/5] ⠄ appium
[4/5] ⠄ bundletool
error /node_modules/appium: Command failed.
Exit code: 1
Command: node ./scripts/autoinstall-extensions.js
Arguments:
Directory: /node_modules/appium
Output:
/node_modules/appium/scripts/autoinstall-extensions.js:43
require('wrap-ansi'),
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/wrap-ansi/index.js from /node_modules/appium/scripts/autoinstall-extensions.js not supported.
Instead change the require of index.js in /node_modules/appium/scripts/autoinstall-extensions.js to a dynamic import() which is available in all CommonJS modules.
Not sure how to fix it properly. But if I delete yarn.lock I can run yarn install and everything is fine.
This one is weird. Docker image node:16 or node:18.
Running
yarn install
I get the following on this:Not sure how to fix it properly. But if I delete yarn.lock I can run
yarn install
and everything is fine.Here is my package.json:
The text was updated successfully, but these errors were encountered: