Skip to content

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

Description

@saiKumarGanji

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions