Created
September 7, 2021 02:46
-
-
Save stepheneb/a53d69456f1b8d9751644452647ac8e5 to your computer and use it in GitHub Desktop.
building electron-forge with bolt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[electron-forge ruby-2.7.3 (master)]$ git pull | |
Already up to date. | |
[electron-forge ruby-2.7.3 (master)]$ bolt | |
⚡️ bolt v0.24.9 (node v14.17.4) | |
🔎 [1/4] Validating project... | |
📦 [2/4] Installing project dependencies... | |
yarn install v1.22.11 | |
[1/5] 🔍 Validating package.json... | |
[2/5] 🔍 Resolving packages... | |
[3/5] 🚚 Fetching packages... | |
[4/5] 🔗 Linking dependencies... | |
warning " > @aws-sdk/[email protected]" has unmet peer dependency "@aws-sdk/abort-controller@^3.0.0". | |
[5/5] 🔨 Building fresh packages... | |
$ rimraf node_modules/.bin/*.ps1 && ts-node tools/link-ts.ts | |
(node:85149) UnhandledPromiseRejectionWarning: Error: ENOTDIR: not a directory, scandir '/Users/stephen/dev/00-clients/rlmg/electron-forge/packages/.DS_Store' | |
(Use `node --trace-warnings ...` to show where the warning was created) | |
(node:85149) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) | |
(node:85149) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. | |
✨ Done in 28.82s. | |
🔗 [3/4] Linking workspace dependencies... | |
🚀 [4/4] Linking workspace binaries... | |
💥 success Installed and linked workspaces. | |
🏁 Done in 29.67s. | |
[electron-forge ruby-2.7.3 (master)]$ | |
[electron-forge ruby-2.7.3 (master)]$ | |
[electron-forge ruby-2.7.3 (master)]$ | |
[electron-forge ruby-2.7.3 (master)]$ bolt build | |
⚡️ bolt v0.24.9 (node v14.17.4) | |
$ yarn build:quick | |
⚡️ bolt v0.24.9 (node v14.17.4) | |
$ rimraf dist && bolt ws exec -- rimraf dist | |
⚡️ bolt v0.24.9 (node v14.17.4) | |
🏁 Done in 1.52s. | |
🏁 Done in 3.04s. | |
(node:85290) UnhandledPromiseRejectionWarning: Error: ENOTDIR: not a directory, scandir '/Users/stephen/dev/00-clients/rlmg/electron-forge/packages/.DS_Store' | |
(Use `node --trace-warnings ...` to show where the warning was created) | |
(node:85290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) | |
(node:85290) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. | |
packages/api/cli/src/electron-forge-import.ts:1:21 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-init.ts:1:34 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, InitOptions } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-install.ts:1:35 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, InstallAsset } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-lint.ts:1:21 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-make.ts:1:34 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, MakeOptions } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-package.ts:1:37 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, PackageOptions } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-publish.ts:1:37 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, PublishOptions } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge-start.ts:1:35 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
1 import { api, StartOptions } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge.ts:3:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
3 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/electron-forge.ts:52:49 - error TS7006: Parameter 'ora' implicitly has an 'any' type. | |
52 await asyncOra('Checking your system', async (ora) => { | |
~~~ | |
packages/api/cli/src/util/check-system.ts:8:37 - error TS2307: Cannot find module '@electron-forge/core' or its corresponding type declarations. | |
8 import { utils as forgeUtils } from '@electron-forge/core'; | |
~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/cli/src/util/check-system.ts:9:25 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
9 import { OraImpl } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/import.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/import.ts:3:26 - error TS2307: Cannot find module '@electron-forge/template-base' or its corresponding type declarations. | |
3 import baseTemplate from '@electron-forge/template-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/init-scripts/find-template.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/init-scripts/init-directory.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/init-scripts/init-directory.ts:9:59 - error TS7006: Parameter 'initSpinner' implicitly has an 'any' type. | |
9 await asyncOra('Initializing Project Directory', async (initSpinner) => { | |
~~~~~~~~~~~ | |
packages/api/core/src/api/init-scripts/init-git.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/init-scripts/init-npm.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/init.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:3:27 - error TS2307: Cannot find module '@electron-forge/installer-base' or its corresponding type declarations. | |
3 import InstallerBase from '@electron-forge/installer-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:12:26 - error TS2307: Cannot find module '@electron-forge/installer-dmg' or its corresponding type declarations. | |
12 import DMGInstaller from '@electron-forge/installer-dmg'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:13:26 - error TS2307: Cannot find module '@electron-forge/installer-zip' or its corresponding type declarations. | |
13 import ZipInstaller from '@electron-forge/installer-zip'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:14:26 - error TS2307: Cannot find module '@electron-forge/installer-deb' or its corresponding type declarations. | |
14 import DebInstaller from '@electron-forge/installer-deb'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:15:26 - error TS2307: Cannot find module '@electron-forge/installer-rpm' or its corresponding type declarations. | |
15 import RPMInstaller from '@electron-forge/installer-rpm'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:16:26 - error TS2307: Cannot find module '@electron-forge/installer-exe' or its corresponding type declarations. | |
16 import ExeInstaller from '@electron-forge/installer-exe'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:78:54 - error TS7006: Parameter 'searchSpinner' implicitly has an 'any' type. | |
78 await asyncOra('Searching for Application', async (searchSpinner) => { | |
~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:164:51 - error TS7006: Parameter 'installSpinner' implicitly has an 'any' type. | |
164 await asyncOra('Installing Application', async (installSpinner) => { | |
~~~~~~~~~~~~~~ | |
packages/api/core/src/api/install.ts:190:21 - error TS2339: Property 'install' does not exist on type 'InstallerImpl'. | |
190 await installer.install({ installSpinner, filePath: fullFilePath }); | |
~~~~~~~ | |
packages/api/core/src/api/lint.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/lint.ts:24:48 - error TS7006: Parameter 'lintSpinner' implicitly has an 'any' type. | |
24 await asyncOra('Linting Application', async (lintSpinner) => { | |
~~~~~~~~~~~ | |
packages/api/core/src/api/make.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/make.ts:7:23 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
7 import MakerBase from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/make.ts:135:30 - error TS2554: Expected 0 arguments, but got 2. | |
135 maker = new MakerClass(resolvableTarget.config, resolvableTarget.platforms || undefined); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/package.ts:2:50 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { ora as realOra, fakeOra, OraImpl } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/publish.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/publish.ts:10:27 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
10 import PublisherBase from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/api/start.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/util/plugin-interface.ts:1:24 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
1 import PluginBase from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/util/rebuild.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/api/core/src/util/rebuild.ts:13:58 - error TS7006: Parameter 'rebuildSpinner' implicitly has an 'any' type. | |
13 await asyncOra('Preparing native dependencies', async (rebuildSpinner) => { | |
~~~~~~~~~~~~~~ | |
packages/installer/base/src/Installer.ts:1:25 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { OraImpl } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/darwin/src/InstallerDarwin.ts:1:25 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { OraImpl } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/darwin/src/InstallerDarwin.ts:2:49 - error TS2307: Cannot find module '@electron-forge/installer-base' or its corresponding type declarations. | |
2 import InstallerBase, { InstallerOptions } from '@electron-forge/installer-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/deb/src/InstallerDeb.ts:1:50 - error TS2307: Cannot find module '@electron-forge/installer-linux' or its corresponding type declarations. | |
1 import InstallerLinux, { InstallerOptions } from '@electron-forge/installer-linux'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/deb/src/InstallerDeb.ts:9:16 - error TS2339: Property 'sudo' does not exist on type 'InstallerDeb'. | |
9 await this.sudo('Debian', 'gdebi', `-n ${filePath}`); | |
~~~~ | |
packages/installer/dmg/src/InstallerDMG.ts:1:51 - error TS2307: Cannot find module '@electron-forge/installer-darwin' or its corresponding type declarations. | |
1 import InstallerDarwin, { InstallerOptions } from '@electron-forge/installer-darwin'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/dmg/src/InstallerDMG.ts:32:18 - error TS2339: Property 'moveApp' does not exist on type 'InstallerDMG'. | |
32 await this.moveApp(appPath, targetApplicationPath, installSpinner, true); | |
~~~~~~~ | |
packages/installer/exe/src/InstallerExe.ts:1:49 - error TS2307: Cannot find module '@electron-forge/installer-base' or its corresponding type declarations. | |
1 import InstallerBase, { InstallerOptions } from '@electron-forge/installer-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/linux/src/InstallerLinux.ts:1:49 - error TS2307: Cannot find module '@electron-forge/installer-base' or its corresponding type declarations. | |
1 import InstallerBase, { InstallerOptions } from '@electron-forge/installer-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/rpm/src/InstallerRpm.ts:1:50 - error TS2307: Cannot find module '@electron-forge/installer-linux' or its corresponding type declarations. | |
1 import InstallerLinux, { InstallerOptions } from '@electron-forge/installer-linux'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/rpm/src/InstallerRpm.ts:9:16 - error TS2339: Property 'sudo' does not exist on type 'InstallerRpm'. | |
9 await this.sudo('RPM', 'dnf', `--assumeyes --nogpgcheck install ${filePath}`); | |
~~~~ | |
packages/installer/zip/src/InstallerZip.ts:1:51 - error TS2307: Cannot find module '@electron-forge/installer-darwin' or its corresponding type declarations. | |
1 import InstallerDarwin, { InstallerOptions } from '@electron-forge/installer-darwin'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/installer/zip/src/InstallerZip.ts:24:16 - error TS2339: Property 'moveApp' does not exist on type 'InstallerZip'. | |
24 await this.moveApp(appPath, targetApplicationPath, installSpinner); | |
~~~~~~~ | |
packages/maker/appx/src/MakerAppX.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/appx/src/MakerAppX.ts:96:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerAppX'. | |
96 await this.ensureDirectory(outPath); | |
~~~~~~~~~~~~~~~ | |
packages/maker/appx/src/MakerAppX.ts:107:24 - error TS2339: Property 'config' does not exist on type 'MakerAppX'. | |
107 windowsKit: this.config.windowsKit || path.dirname(await findSdkTool('makeappx.exe')), | |
~~~~~~ | |
packages/maker/appx/src/MakerAppX.ts:108:15 - error TS2339: Property 'config' does not exist on type 'MakerAppX'. | |
108 ...this.config, | |
~~~~~~ | |
packages/maker/appx/src/MakerAppX.ts:128:36 - error TS2339: Property 'normalizeWindowsVersion' does not exist on type 'MakerAppX'. | |
128 opts.packageVersion = this.normalizeWindowsVersion(opts.packageVersion); | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/deb/src/MakerDeb.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/deb/src/MakerDeb.ts:25:17 - error TS2339: Property 'isInstalled' does not exist on type 'MakerDeb'. | |
25 return this.isInstalled('electron-installer-debian'); | |
~~~~~~~~~~~ | |
packages/maker/deb/src/MakerDeb.ts:38:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerDeb'. | |
38 await this.ensureDirectory(outDir); | |
~~~~~~~~~~~~~~~ | |
packages/maker/deb/src/MakerDeb.ts:41:15 - error TS2339: Property 'config' does not exist on type 'MakerDeb'. | |
41 ...this.config, | |
~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:27:51 - error TS2339: Property 'config' does not exist on type 'MakerDMG'. | |
27 const outPath = path.resolve(makeDir, `${this.config.name || appName}.dmg`); | |
~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:30:16 - error TS2339: Property 'ensureFile' does not exist on type 'MakerDMG'. | |
30 await this.ensureFile(outPath); | |
~~~~~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:34:15 - error TS2339: Property 'config' does not exist on type 'MakerDMG'. | |
34 ...this.config, | |
~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:39:15 - error TS2339: Property 'config' does not exist on type 'MakerDMG'. | |
39 if (!this.config.name) { | |
~~~~~~ | |
packages/maker/dmg/src/MakerDMG.ts:40:18 - error TS2339: Property 'ensureFile' does not exist on type 'MakerDMG'. | |
40 await this.ensureFile(forgeDefaultOutPath); | |
~~~~~~~~~~ | |
packages/maker/flatpak/src/MakerFlatpak.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/flatpak/src/MakerFlatpak.ts:27:17 - error TS2339: Property 'isInstalled' does not exist on type 'MakerFlatpak'. | |
27 return this.isInstalled('@malept/electron-installer-flatpak'); | |
~~~~~~~~~~~ | |
packages/maker/flatpak/src/MakerFlatpak.ts:41:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerFlatpak'. | |
41 await this.ensureDirectory(outDir); | |
~~~~~~~~~~~~~~~ | |
packages/maker/flatpak/src/MakerFlatpak.ts:43:15 - error TS2339: Property 'config' does not exist on type 'MakerFlatpak'. | |
43 ...this.config, | |
~~~~~~ | |
packages/maker/pkg/src/MakerPKG.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/pkg/src/MakerPKG.ts:30:16 - error TS2339: Property 'ensureFile' does not exist on type 'MakerDMG'. | |
30 await this.ensureFile(outPath); | |
~~~~~~~~~~ | |
packages/maker/pkg/src/MakerPKG.ts:33:15 - error TS2339: Property 'config' does not exist on type 'MakerDMG'. | |
33 ...this.config, | |
~~~~~~ | |
packages/maker/rpm/src/MakerRpm.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/rpm/src/MakerRpm.ts:25:17 - error TS2339: Property 'isInstalled' does not exist on type 'MakerRpm'. | |
25 return this.isInstalled('electron-installer-redhat'); | |
~~~~~~~~~~~ | |
packages/maker/rpm/src/MakerRpm.ts:38:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerRpm'. | |
38 await this.ensureDirectory(outDir); | |
~~~~~~~~~~~~~~~ | |
packages/maker/rpm/src/MakerRpm.ts:40:15 - error TS2339: Property 'config' does not exist on type 'MakerRpm'. | |
40 ...this.config, | |
~~~~~~ | |
packages/maker/snap/src/MakerSnap.ts:2:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
2 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/snap/src/MakerSnap.ts:28:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerSnap'. | |
28 await this.ensureDirectory(outPath); | |
~~~~~~~~~~~~~~~ | |
packages/maker/snap/src/MakerSnap.ts:35:34 - error TS2339: Property 'config' does not exist on type 'MakerSnap'. | |
35 const snapConfig = { ...this.config, ...snapDefaults }; | |
~~~~~~ | |
packages/maker/squirrel/src/MakerSquirrel.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/squirrel/src/MakerSquirrel.ts:16:17 - error TS2339: Property 'isInstalled' does not exist on type 'MakerSquirrel'. | |
16 return this.isInstalled('electron-winstaller') && !process.env.DISABLE_SQUIRREL_TEST; | |
~~~~~~~~~~~ | |
packages/maker/squirrel/src/MakerSquirrel.ts:28:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerSquirrel'. | |
28 await this.ensureDirectory(outPath); | |
~~~~~~~~~~~~~~~ | |
packages/maker/squirrel/src/MakerSquirrel.ts:36:15 - error TS2339: Property 'config' does not exist on type 'MakerSquirrel'. | |
36 ...this.config, | |
~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:30:16 - error TS2339: Property 'ensureDirectory' does not exist on type 'MakerWix'. | |
30 await this.ensureDirectory(outPath); | |
~~~~~~~~~~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:36:22 - error TS2339: Property 'normalizeWindowsVersion' does not exist on type 'MakerWix'. | |
36 version = this.normalizeWindowsVersion(version); | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:45:15 - error TS2339: Property 'config' does not exist on type 'MakerWix'. | |
45 ...this.config, | |
~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:50:14 - error TS2339: Property 'config' does not exist on type 'MakerWix'. | |
50 if (this.config.beforeCreate) { | |
~~~~~~ | |
packages/maker/wix/src/MakerWix.ts:51:34 - error TS2339: Property 'config' does not exist on type 'MakerWix'. | |
51 await Promise.resolve(this.config.beforeCreate(creator)); | |
~~~~~~ | |
packages/maker/zip/src/MakerZIP.ts:1:41 - error TS2307: Cannot find module '@electron-forge/maker-base' or its corresponding type declarations. | |
1 import MakerBase, { MakerOptions } from '@electron-forge/maker-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/maker/zip/src/MakerZIP.ts:33:16 - error TS2339: Property 'ensureFile' does not exist on type 'MakerZIP'. | |
33 await this.ensureFile(zipPath); | |
~~~~~~~~~~ | |
packages/plugin/auto-unpack-natives/src/AutoUnpackNativesPlugin.ts:1:24 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
1 import PluginBase from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/compile/src/CompilePlugin.ts:1:42 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
1 import PluginBase, { StartOptions } from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/compile/src/lib/compile-hook.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/electronegativity/src/ElectronegativityPlugin.ts:2:24 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
2 import PluginBase from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/electronegativity/src/ElectronegativityPlugin.ts:72:15 - error TS2339: Property 'config' does not exist on type 'ElectronegativityPlugin'. | |
72 ...this.config, | |
~~~~~~ | |
packages/plugin/electronegativity/src/ElectronegativityPlugin.ts:73:27 - error TS2339: Property 'config' does not exist on type 'ElectronegativityPlugin'. | |
73 parserPlugins: this.config.parserPlugins ?? [], | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:1:24 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
1 import PluginBase from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:17:21 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
17 if (typeof this.config.enabled === 'undefined') { | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:20:17 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
20 return this.config.enabled; | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:26:54 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
26 process.env.ELECTRON_OVERRIDE_DIST_PATH = this.config.electronPath; | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:39:15 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
39 if ((this.config.electronPlatform || process.platform) !== platform) { | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:40:122 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
40 throw new Error(`Can not use local Electron version, required platform "${platform}" but local platform is "${this.config.electronPlatform || process.platform}"`); | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:45:15 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
45 if ((this.config.electronArch || process.arch) !== arch) { | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:46:110 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
46 throw new Error(`Can not use local Electron version, required arch "${arch}" but local arch is "${this.config.electronArch || process.arch}"`); | |
~~~~~~ | |
packages/plugin/local-electron/src/LocalElectronPlugin.ts:64:24 - error TS2339: Property 'config' does not exist on type 'LocalElectronPlugin'. | |
64 await fs.copy(this.config.electronPath, buildPath); | |
~~~~~~ | |
packages/plugin/webpack/src/util/ElectronForgeLogging.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/webpack/src/util/ElectronForgeLogging.ts:2:21 - error TS2307: Cannot find module '@electron-forge/web-multi-logger' or its corresponding type declarations. | |
2 import { Tab } from '@electron-forge/web-multi-logger'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:3:24 - error TS2307: Cannot find module '@electron-forge/plugin-base' or its corresponding type declarations. | |
3 import PluginBase from '@electron-forge/plugin-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:5:29 - error TS2307: Cannot find module '@electron-forge/web-multi-logger' or its corresponding type declarations. | |
5 import Logger, { Tab } from '@electron-forge/web-multi-logger'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:113:32 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
113 if (isRenderer && this.config.renderer.jsonStats) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:141:14 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
141 this.config, | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:199:16 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
199 if (this.config.jsonStats && file.endsWith(path.join('.webpack', 'main', 'stats.json'))) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:203:16 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
203 if (this.config.renderer.jsonStats && file.endsWith(path.join('.webpack', 'renderer', 'stats.json'))) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:249:20 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
249 if (this.config.jsonStats) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:272:59 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
272 await this.configGenerator.getRendererConfig(this.config.renderer.entryPoints), | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:280:35 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
280 for (const entryPoint of this.config.renderer.entryPoints) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:300:72 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
300 const config = await this.configGenerator.getRendererConfig(this.config.renderer.entryPoints); | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:311:37 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
311 for (const entryPoint of this.config.renderer.entryPoints) { | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:338:32 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
338 const cspDirectives = this.config.devContentSecurityPolicy | |
~~~~~~ | |
packages/plugin/webpack/src/WebpackPlugin.ts:357:33 - error TS2339: Property 'config' does not exist on type 'WebpackPlugin'. | |
357 return merge(defaults, this.config.devServer ?? {}, overrides); | |
~~~~~~ | |
packages/publisher/bitbucket/src/PublisherBitbucket.ts:1:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
1 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/bitbucket/src/PublisherBitbucket.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/bitbucket/src/PublisherBitbucket.ts:15:13 - error TS2339: Property 'config' does not exist on type 'PublisherBitbucket'. | |
15 const { config } = this; | |
~~~~~~ | |
packages/publisher/electron-release-server/src/PublisherERS.ts:1:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
1 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/electron-release-server/src/PublisherERS.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/electron-release-server/src/PublisherERS.ts:48:13 - error TS2339: Property 'config' does not exist on type 'PublisherERS'. | |
48 const { config } = this; | |
~~~~~~ | |
packages/publisher/electron-release-server/src/PublisherERS.ts:108:40 - error TS7006: Parameter 'uploadSpinner' implicitly has an 'any' type. | |
108 await asyncOra(getText(), async (uploadSpinner) => { | |
~~~~~~~~~~~~~ | |
packages/publisher/electron-release-server/src/PublisherERS.ts:113:48 - error TS7006: Parameter 'artifactPath' implicitly has an 'any' type. | |
113 await Promise.all(artifacts.map(async (artifactPath) => { | |
~~~~~~~~~~~~ | |
packages/publisher/github/src/PublisherGithub.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/github/src/PublisherGithub.ts:6:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
6 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/github/src/PublisherGithub.ts:27:13 - error TS2339: Property 'config' does not exist on type 'PublisherGithub'. | |
27 const { config } = this; | |
~~~~~~ | |
packages/publisher/github/src/PublisherGithub.ts:87:103 - error TS7006: Parameter 'uploadSpinner' implicitly has an 'any' type. | |
87 await asyncOra(`Uploading Artifacts ${uploaded}/${artifacts.length} to v${releaseName}`, async (uploadSpinner) => { | |
~~~~~~~~~~~~~ | |
packages/publisher/nucleus/src/PublisherNucleus.ts:1:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
1 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/nucleus/src/PublisherNucleus.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/nucleus/src/PublisherNucleus.ts:19:51 - error TS7006: Parameter 'nResult' implicitly has an 'any' type. | |
19 const existingResult = newMakeResults.find((nResult) => nResult.arch === result.arch | |
~~~~~~~ | |
packages/publisher/nucleus/src/PublisherNucleus.ts:32:13 - error TS2339: Property 'config' does not exist on type 'PublisherNucleus'. | |
32 const { config } = this; | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:8:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
8 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:9:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
9 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:30:15 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
30 if (!this.config.bucket) { | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:35:51 - error TS7006: Parameter 'artifact' implicitly has an 'any' type. | |
35 artifacts.push(...makeResult.artifacts.map((artifact) => ({ | |
~~~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:37:25 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
37 keyPrefix: this.config.folder || makeResult.packageJSON.version, | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:45:20 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
45 region: this.config.region, | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:46:22 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
46 endpoint: this.config.endpoint, | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:47:30 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
47 forcePathStyle: !!this.config.s3ForcePathStyle, | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:50:48 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
50 d('creating s3 client with options:', this.config); | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:55:42 - error TS7006: Parameter 'uploadSpinner' implicitly has an 'any' type. | |
55 await asyncOra(spinnerText(), async (uploadSpinner) => { | |
~~~~~~~~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:62:26 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
62 Bucket: this.config.bucket, | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:64:23 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
64 ACL: this.config.public ? 'public-read' : 'private', | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:83:14 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
83 if (this.config.keyResolver) { | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:84:19 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
84 return this.config.keyResolver( | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:95:30 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
95 const accessKeyId = this.config.accessKeyId || process.env.AWS_ACCESS_KEY_ID; | |
~~~~~~ | |
packages/publisher/s3/src/PublisherS3.ts:96:34 - error TS2339: Property 'config' does not exist on type 'PublisherS3'. | |
96 const secretAccessKey = this.config.secretAccessKey || process.env.AWS_SECRET_ACCESS_KEY; | |
~~~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:1:49 - error TS2307: Cannot find module '@electron-forge/publisher-base' or its corresponding type declarations. | |
1 import PublisherBase, { PublisherOptions } from '@electron-forge/publisher-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:2:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
2 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:15:43 - error TS7006: Parameter 'flat' implicitly has an 'any' type. | |
15 const artifacts = makeResults.reduce((flat, makeResult) => { | |
~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:15:49 - error TS7006: Parameter 'makeResult' implicitly has an 'any' type. | |
15 const artifacts = makeResults.reduce((flat, makeResult) => { | |
~~~~~~~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:20:45 - error TS7006: Parameter 'artifact' implicitly has an 'any' type. | |
20 const snapArtifacts = artifacts.filter((artifact) => artifact.endsWith('.snap')); | |
~~~~~~~~ | |
packages/publisher/snapcraft/src/PublisherSnapcraft.ts:35:45 - error TS2339: Property 'config' does not exist on type 'PublisherSnapcraft'. | |
35 await snapcraft.run(dir, 'push', this.config, snapArtifacts); | |
~~~~~~ | |
packages/template/base/src/BaseTemplate.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:2:30 - error TS2307: Cannot find module '@electron-forge/template-base' or its corresponding type declarations. | |
2 import { BaseTemplate } from '@electron-forge/template-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:43:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
43 await this.copyTemplateFile(directory, 'webpack.main.config.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:44:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
44 await this.copyTemplateFile(directory, 'webpack.renderer.config.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:45:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
45 await this.copyTemplateFile(directory, 'webpack.rules.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:46:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
46 await this.copyTemplateFile(directory, 'webpack.plugins.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:48:18 - error TS2339: Property 'updateFileByLine' does not exist on type 'TypeScriptWebpackTemplate'. | |
48 await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => { | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:48:82 - error TS7006: Parameter 'line' implicitly has an 'any' type. | |
48 await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => { | |
~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:54:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
54 await this.copyTemplateFile(directory, 'tsconfig.json'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:57:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
57 await this.copyTemplateFile(directory, '.eslintrc.json'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:61:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
61 await this.copyTemplateFile(path.join(directory, 'src'), 'index.ts'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts:63:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptWebpackTemplate'. | |
63 await this.copyTemplateFile(path.join(directory, 'src'), 'renderer.ts'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript/src/TypeScriptTemplate.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/typescript/src/TypeScriptTemplate.ts:2:30 - error TS2307: Cannot find module '@electron-forge/template-base' or its corresponding type declarations. | |
2 import { BaseTemplate } from '@electron-forge/template-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/typescript/src/TypeScriptTemplate.ts:27:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptTemplate'. | |
27 await this.copyTemplateFile(directory, 'tsconfig.json'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript/src/TypeScriptTemplate.ts:30:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptTemplate'. | |
30 await this.copyTemplateFile(directory, '.eslintrc.json'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/typescript/src/TypeScriptTemplate.ts:34:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'TypeScriptTemplate'. | |
34 await this.copyTemplateFile(path.join(directory, 'src'), 'index.ts'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:1:26 - error TS2307: Cannot find module '@electron-forge/async-ora' or its corresponding type declarations. | |
1 import { asyncOra } from '@electron-forge/async-ora'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:2:30 - error TS2307: Cannot find module '@electron-forge/template-base' or its corresponding type declarations. | |
2 import { BaseTemplate } from '@electron-forge/template-base'; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:36:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'WebpackTemplate'. | |
36 await this.copyTemplateFile(directory, 'webpack.main.config.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:37:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'WebpackTemplate'. | |
37 await this.copyTemplateFile(directory, 'webpack.renderer.config.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:38:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'WebpackTemplate'. | |
38 await this.copyTemplateFile(directory, 'webpack.rules.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:39:18 - error TS2339: Property 'copyTemplateFile' does not exist on type 'WebpackTemplate'. | |
39 await this.copyTemplateFile(path.join(directory, 'src'), 'renderer.js'); | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:41:18 - error TS2339: Property 'updateFileByLine' does not exist on type 'WebpackTemplate'. | |
41 await this.updateFileByLine(path.resolve(directory, 'src', 'index.js'), (line) => { | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:41:80 - error TS7006: Parameter 'line' implicitly has an 'any' type. | |
41 await this.updateFileByLine(path.resolve(directory, 'src', 'index.js'), (line) => { | |
~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:46:18 - error TS2339: Property 'updateFileByLine' does not exist on type 'WebpackTemplate'. | |
46 await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => { | |
~~~~~~~~~~~~~~~~ | |
packages/template/webpack/src/WebpackTemplate.ts:46:82 - error TS7006: Parameter 'line' implicitly has an 'any' type. | |
46 await this.updateFileByLine(path.resolve(directory, 'src', 'index.html'), (line) => { | |
~~~~ | |
Found 193 errors. | |
error Error | |
error at ChildProcess.<anonymous> (/Users/stephen/.nvm/versions/node/v14.17.4/lib/node_modules/bolt/dist/modern/utils/processes.js:128:16) | |
[electron-forge ruby-2.7.3 (master)]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment