Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: invalid options argument #211

Open
Ickerday opened this issue Feb 10, 2022 · 2 comments
Open

TypeError: invalid options argument #211

Ickerday opened this issue Feb 10, 2022 · 2 comments

Comments

@Ickerday
Copy link

Error:

Installing extensions...
TypeError: invalid options argument
    at optsArg (webpack-internal:https:///8520:13:11)
    at mkdirp (webpack-internal:https:///706:11:10)
    at eval (webpack-internal:https:///4228:21:49)
    at eval (webpack-internal:https:///6546:79:20)
    at Array.map (<anonymous>)
    at eval (webpack-internal:https:///6546:73:40)
    at callHanler (webpack-internal:https:///6368:719:16)
    at tryCatcher (webpack-internal:https:///6368:436:32)
    at eval (webpack-internal:https:///6368:575:38)
    at flush (webpack-internal:https:///6368:478:17)

My packages:

{
    "electron": "15.3.6",
    "electron-devtools-installer": "3.2.0",
}

Here's my main.ts excerpt:

 if (isDev)
    app
      .whenReady()
      .then(() => console.info('Installing extensions...'))
      .then(() => import('electron-devtools-installer'))
      .then(({ default: installExtension, REDUX_DEVTOOLS, REACT_DEVELOPER_TOOLS, APOLLO_DEVELOPER_TOOLS }) =>
        installExtension([APOLLO_DEVELOPER_TOOLS.id, REACT_DEVELOPER_TOOLS.id, REDUX_DEVTOOLS.id])
      )
      .then(() => console.info('Extensions installed'))
      .catch((error) => console.warn('A non-breaking error occurred while adding extensions:', error));
@Ickerday Ickerday changed the title Package not working TypeError: invalid options argument Feb 10, 2022
@ce-brex
Copy link

ce-brex commented Nov 22, 2022

Just ran into this same issue on a new project. @Ickerday did you ever find a solution?

@lounya
Copy link

lounya commented Dec 19, 2023

up :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants