Cannot find module \node_modules\wdio\bin\wdio.js, Not getting installed properly #8310
Replies: 5 comments 15 replies
-
Because you didn't install the CLI: |
Beta Was this translation helpful? Give feedback.
-
I fixed by re-creating the whole thign again and ran these series of commands that helped me get my config file setup on VS code mkdir webdriverio-test |
Beta Was this translation helpful? Give feedback.
-
@christian-bromann Any idea why I would be getting this error: Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'XXX/src/configs/wdio.conf.js' imported from /XXX/node_modules/@wdio/config/build/node/RequireLibrary.js Node.js v18.18.0 |
Beta Was this translation helpful? Give feedback.
-
@erwinheitzman Can you please suggest the compiler options, sharing what I have right now: |
Beta Was this translation helpful? Give feedback.
-
@erwinheitzman - Running typescript now and running into this issue: |
Beta Was this translation helpful? Give feedback.
-
Hi I am getting the error when i run the command
wdio wdio.conf.js --suite login
Error: Cannot find module 'AppData\Local\Temp\dlx-21520\5\node_modules\wdio\bin\wdio.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
I am not sure why the wdio is not getting installed properly
Beta Was this translation helpful? Give feedback.
All reactions