angular-plugin-architecture icon indicating copy to clipboard operation
angular-plugin-architecture copied to clipboard

Unable to build after npm update

Open am1tg opened this issue 4 years ago • 0 comments

[4/4] Building fresh packages...
success Saved lockfile.
$ tsc -p builders/tsconfig.builders.json
builders/plugin-builder/index.ts:2:3 - error TS2305: Module '"../../node_modules/@an
gular-devkit/build-angular/src"' has no exported member 'BrowserBuilder'.

2   BrowserBuilder,
    ~~~~~~~~~~~~~~

builders/plugin-builder/index.ts:3:3 - error TS2305: Module '"../../node_modules/@angular-devkit/build-angular/src"' has no exported member 'NormalizedBrowserBuilderSchema'.

3   NormalizedBrowserBuilderSchema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

builders/plugin-builder/index.ts:124:27 - error TS2339: Property 'deleteOutputPath' does not exist on type 'PluginBuilderSchema'.

124     builderConfig.options.deleteOutputPath = false;
                              ~~~~~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/experimental/workspace/workspace.d.ts:48:9 - error TS1086: An accessor cannot be declared in an ambient context.

48     get root(): Path;
           ~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/experimental/workspace/workspace.d.ts:49:9 - error TS1086: An accessor cannot be declared in an ambient context.

49     get host(): virtualFs.Host<{}>;
           ~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/experimental/workspace/workspace.d.ts:50:9 - error TS1086: An accessor cannot be declared in an ambient context.

50     get version(): number;
           ~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/experimental/workspace/workspace.d.ts:51:9 - error TS1086: An accessor cannot be declared in an ambient context.

51     get newProjectRoot(): string | undefined;
           ~~~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/logger/logger.d.ts:36:19 - error TS1086: An accessor cannot be declared in an ambient context.

36     protected get _observable(): Observable<LogEntry>;
                     ~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/logger/logger.d.ts:37:19 - error TS1086: An accessor cannot be declared in an ambient context.

37     protected set _observable(v: Observable<LogEntry>);
                     ~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/utils/partially-ordered-set.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.

20     get size(): number;
           ~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/utils/partially-ordered-set.d.ts:36:26 - error TS2315: Type 'Generator' is not generic.

36     [Symbol.iterator](): Generator<T, void, unknown>;
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/utils/partially-ordered-set.d.ts:37:9 - error TS1086: An accessor cannot be declared in an ambient context.

37     get [Symbol.toStringTag](): 'Set';
           ~~~~~~~~~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/utils/priority-queue.d.ts:17:9 - error TS1086: An accessor cannot be declared in an ambient context.

17     get size(): number;
           ~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/alias.d.ts:59:9 - error TS1086: An accessor cannot be declared in an ambient context.

59     get aliases(): Map<Path, Path>;
           ~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/memory.d.ts:42:9 - error TS1086: An accessor cannot be declared in an ambient context.

42     get capabilities(): HostCapabilities;
           ~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/record.d.ts:50:9 - error TS1086: An accessor cannot be declared in an ambient context.

50     get backend(): ReadonlyHost;
           ~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/record.d.ts:51:9 - error TS1086: An accessor cannot be declared in an ambient context.

51     get capabilities(): HostCapabilities;
           ~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/resolver.d.ts:19:9 - error TS1086: An accessor cannot be declared in an ambient context.

19     get capabilities(): HostCapabilities;
           ~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/safe.d.ts:18:9 - error TS1086: An accessor cannot be declared in an ambient context.

18     get capabilities(): HostCapabilities;
           ~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/sync.d.ts:22:9 - error TS1086: An accessor cannot be declared in an ambient context.

22     get capabilities(): HostCapabilities;
           ~~~~~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/sync.d.ts:23:9 - error TS1086: An accessor cannot be declared in an ambient context.

23     get delegate(): Host<T>;
           ~~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/test.d.ts:28:13 - error TS1086: An accessor cannot be declared in an ambient context.

28         get records(): TestLogRecord[];
               ~~~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/test.d.ts:30:13 - error TS1086: An accessor cannot be declared in an ambient context.

30         get files(): Path[];
               ~~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/virtual-fs/host/test.d.ts:31:13 - error TS1086: An accessor cannot be declared in an ambient context.

31         get sync(): SyncDelegateHost<{}>;
               ~~~~

node_modules/@angular-devkit/build-angular/node_modules/@angular-devkit/core/src/workspace/definitions.d.ts:35:9 - error TS1086: An accessor cannot be declared in an ambient context.

35     get size(): number;
           ~~~~

node_modules/@angular-devkit/build-angular/src/karma/index.d.ts:13:49 - error TS2307: Cannot find module 'karma'.

13 export declare type KarmaConfigOptions = import('karma').ConfigOptions & {
                                                   ~~~~~~~


Found 26 errors.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

am1tg avatar Mar 04 '20 14:03 am1tg