⚠️ Ups, something went wrong: Error calling: npm install –save-dev @wdio/cli@latest!
npm ERR! code 1
npm ERR! path C:UsersadminDownloadsmyRepogrocery-website-test-automation
npm ERR! command failed
npm ERR! command C:WINDOWSsystem32cmd.exe /d /s /c create-wdio
npm ERR! A complete log of this run can be found in: C:UsersadminAppDataLocalnpm-cache_logs2024-07-16T09_32_34_198Z-debug-0.log
I followed the official website documentation : – https://webdriver.io/docs/gettingstarted.
package.json : – Below code was installed.
{
“name”: “grocery-website-test-automation”,
“type”: “module”
}
node modules folder was installed.
Expected complete setup : nodemodule folder, package.json folder, package-lock folder.