spectron icon indicating copy to clipboard operation
spectron copied to clipboard

Module name "process" has not been loaded yet for context:

Open saiKumarGanji opened this issue 3 years ago • 0 comments

Seeing the error "Module name "process" has not been loaded yet for context" all the time can anyone help me with this

mocha

Clipmaster 9000 1) "before each" hook for "should login"

0 passing (5s) 1 failing

  1. Clipmaster 9000 "before each" hook for "should login": javascript error: javascript error: Module name "process" has not been loaded yet for context: _. Use require([]) https://requirejs.org/docs/errors.html#notloaded (Session info: chrome=89.0.4389.128) at Object.getErrorFromResponseBody (node_modules\webdriver\build\utils.js:94:12) at WebDriverRequest._request (node_modules\webdriver\build\request.js:134:31) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Browser.wrapCommandFn (node_modules@wdio\utils\build\shim.js:63:29) at async Browser.wrapCommandFn (node_modules@wdio\utils\build\shim.js:63:29) at async Context. (test\spec.js:17:12)

package json details "electron": "^12.0.2", "mocha": "^9.1.1", "spectron": "^14.0.0"

saiKumarGanji avatar Sep 06 '21 10:09 saiKumarGanji