Electron-builder: Http type issues

Created on 9 Oct 2017  Â·  1Comment  Â·  Source: electron-userland/electron-builder


  • Version:
        "electron": "1.8.1",
        "electron-builder": "19.35.1",
        "electron-updater": "2.10.2",

  • Target: Mac
ERROR in [at-loader] ./src/desktop/node_modules/builder-util-runtime/out/httpExecutor.d.ts:3:10
    TS2305: Module '"http"' has no exported member 'OutgoingHttpHeaders'.

ERROR in [at-loader] ./src/desktop/node_modules/electron-updater/out/AppUpdater.d.ts:4:10
    TS2305: Module '"http"' has no exported member 'OutgoingHttpHeaders'.

ERROR in [at-loader] ./src/desktop/node_modules/electron-updater/out/Provider.d.ts:3:10
    TS2305: Module '"http"' has no exported member 'OutgoingHttpHeaders'.

ERROR in [at-loader] ./src/desktop/node_modules/electron-updater/out/main.d.ts:4:10
    TS2305: Module '"http"' has no exported member 'OutgoingHttpHeaders'.

Seems like this module should just use the node.js types.

Most helpful comment

Ah, I had to upgrade the node types:

 @types/node                                      7.0.13  →                             8.0.34

>All comments

Ah, I had to upgrade the node types:

 @types/node                                      7.0.13  →                             8.0.34
Was this page helpful?
0 / 5 - 0 ratings

Related issues

antonycourtney picture antonycourtney  Â·  3Comments

lbssousa picture lbssousa  Â·  3Comments

noahprince22 picture noahprince22  Â·  3Comments

ccorcos picture ccorcos  Â·  3Comments

NPellet picture NPellet  Â·  3Comments