8000 [Bug]: `require('electron/lol')` inside an electron process requires the `'electron'` module instead · Issue #33014 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: require('electron/lol') inside an electron process requires the 'electron' module instead #33014
Closed
@RaisinTen

Descripti 8B10 on

@RaisinTen

Preflight Checklist

Electron Version

17.0.1

What operating system are you using?

all

Operating System Version

all

What arch are you using?

all

Last Known Working Electron version

9.4.4

Expected Behavior

  • Should throw a MODULE_NOT_FOUND error OR
  • The difference between Electron's and Node.js' require() should be documented

Actual Behavior

It requires the 'electron' module instead.

Testcase Gist URL

https://gist.github.com/RaisinTen/dfe8c9ccc8345c656dcf0d21825c4b7f

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0