Description
Command
build
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19
Description
ionic build
ng run app:build
Application bundle generation failed. [5.730 seconds]
▲ [WARNING] The glob pattern import("./**/.entry.js") did not match any files [empty-glob]
node_modules/@stencil/core/internal/client/index.js:158:4: 158 │ `./${bundleId}.entry.js${BUILD5.hotModuleReplacement && hmrVe... ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] TS2307: Cannot find module 'node:url' or its corresponding type declarations. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/engine/engine.d.ts:9:20: 9 │ import { Url } from 'node:url'; ╵ ~~~~~~~~~~
✘ [ERROR] TS2307: Cannot find module 'node:url' or its corresponding type declarations. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/engine/interface.d.ts:9:20: 9 │ import { Url } from 'node:url'; ╵ ~~~~~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts:23:13: 23 │ content: Buffer; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/dryrun.d.ts:28:13: 28 │ content: Buffer; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/host.d.ts:17:40: 17 │ protected _filesToCreate: Map<Path, Buffer<ArrayBufferLike>>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/host.d.ts:18:40: 18 │ protected _filesToUpdate: Map<Path, Buffer<ArrayBufferLike>>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/host.d.ts:22:50: 22 │ ...ted _overwriteFile(path: Path, content: Buffer): Observable<void>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/host.d.ts:23:47: 23 │ ...tected _createFile(path: Path, content: Buffer): Observable<void>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/sink.d.ts:20:61: 20 │ ...t _overwriteFile(path: string, content: Buffer): Observable<void>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/sink/sink.d.ts:21:58: 21 │ ...ract _createFile(path: string, content: Buffer): Observable<void>; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/action.d.ts:21:32: 21 │ create(path: Path, content: Buffer): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/action.d.ts:22:35: 22 │ overwrite(path: Path, content: Buffer): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/action.d.ts:37:22: 37 │ readonly content: Buffer; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/action.d.ts:41:22: 41 │ readonly content: Buffer; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts:18:24: 18 │ read(path: string): Buffer | null; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts:25:37: 25 │ overwrite(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/delegate.d.ts:28:34: 28 │ create(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts:43:24: 43 │ read(path: string): Buffer | null; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts:50:37: 50 │ overwrite(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/host-tree.d.ts:53:34: 53 │ create(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:23:22: 23 │ readonly content: Buffer; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:42:24: 42 │ read(path: string): Buffer | null; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:69:37: 69 │ overwrite(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:72:34: 72 │ create(path: string, content: Buffer | string): void; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:83:39: 83 │ ...sertLeft(index: number, content: Buffer | string): UpdateRecorder; ╵ ~~~~~~
✘ [ERROR] TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig. [plugin angular-compiler]
node_modules/@angular-devkit/schematics/src/tree/interface.d.ts:84:40: 84 │ ...ertRight(index: number, content: Buffer | string): UpdateRecorder; ╵ ~~~~~~
[ERROR] An error occurred while running subprocess ng.
ng run app:build exited with exit code 1. Re-running this command with the --verbose flag may provide more information.