You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.6 KiB
71 lines
2.6 KiB
1 year ago
|
|
||
|
> kickstart-for-time-pwa@0.1.0 build
|
||
|
> vue-cli-service build
|
||
|
|
||
|
All browser targets in the browserslist configuration have supported ES module.
|
||
|
Therefore we don't build two separate bundles for differential loading.
|
||
|
|
||
|
|
||
|
ERROR Failed to compile with 6 errors8:44:37 PM
|
||
|
|
||
|
error in ./src/views/AccountViewView.vue?vue&type=script&lang=ts
|
||
|
|
||
|
Module not found: Error: Package path ./index is not exported from package /home/matthew/projects/kick-starter-for-time-pwa/node_modules/axios (see exports field in /home/matthew/projects/kick-starter-for-time-pwa/node_modules/axios/package.json)
|
||
|
|
||
|
error in src/libs/endorserServer.ts:226:53
|
||
|
|
||
|
TS18047: 'error' is possibly 'null'.
|
||
|
224 | error instanceof Error
|
||
|
225 | ? error.message
|
||
|
> 226 | : typeof error === "object" && "message" in error
|
||
|
| ^^^^^
|
||
|
227 | ? (error as { message: string }).message
|
||
|
228 | : "Unknown error";
|
||
|
229 |
|
||
|
|
||
|
error in src/views/AccountViewView.vue:474:29
|
||
|
|
||
|
TS2304: Cannot find name 'IdentityType'.
|
||
|
472 | * @param {IdentityType} identity - Object containing identity information.
|
||
|
473 | */
|
||
|
> 474 | processIdentity(identity: IdentityType) {
|
||
|
| ^^^^^^^^^^^^
|
||
|
475 | this.publicHex = identity.keys[0].publicKeyHex;
|
||
|
476 | this.publicBase64 = Buffer.from(this.publicHex, "hex").toString("base64");
|
||
|
477 | this.derivationPath = identity.keys[0].meta.derivationPath;
|
||
|
|
||
|
error in src/views/AccountViewView.vue:491:7
|
||
|
|
||
|
TS18046: 'err' is of type 'unknown'.
|
||
|
489 | handleError(err: unknown) {
|
||
|
490 | if (
|
||
|
> 491 | err.message ===
|
||
|
| ^^^
|
||
|
492 | "Attempted to load account records with no identity available."
|
||
|
493 | ) {
|
||
|
494 | this.limitsMessage = "No identity.";
|
||
|
|
||
|
error in src/views/AccountViewView.vue:645:34
|
||
|
|
||
|
TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error | AxiosError<unknown, any>'.
|
||
|
643 | }
|
||
|
644 | } catch (error) {
|
||
|
> 645 | this.handleRateLimitsError(error);
|
||
|
| ^^^^^
|
||
|
646 | }
|
||
|
647 |
|
||
|
648 | this.loadingLimits = false;
|
||
|
|
||
|
error in src/views/AccountViewView.vue:726:40
|
||
|
|
||
|
TS2345: Argument of type 'Account' is not assignable to parameter of type 'IAccount'.
|
||
|
Property 'privateHex' is missing in type 'Account' but required in type 'IAccount'.
|
||
|
724 | await db.settings.update(MASTER_SETTINGS_KEY, { activeDid: account.did });
|
||
|
725 |
|
||
|
> 726 | this.updateActiveAccountProperties(account);
|
||
|
| ^^^^^^^
|
||
|
727 | }
|
||
|
728 |
|
||
|
729 | /**
|
||
|
|