angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng build -prod errors with 1.7.0-RC.0

Open nakah opened this issue 8 years ago • 7 comments

Versions

Angular CLI: 1.7.0-rc.0 Node: 9.5.0 OS: win32 x64 Angular: 5.2.1 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router

@angular/cdk: 5.1.0 @angular/cli: 1.7.0-rc.0 @angular/flex-layout: 2.0.0-beta.10-4905443 @angular/material-moment-adapter: 5.1.0 @angular/material: 5.1.0 @angular-devkit/build-optimizer: 0.3.1 @angular-devkit/core: 0.3.1 @angular-devkit/schematics: 0.3.1 @ngtools/json-schema: 1.2.0 @ngtools/webpack: 1.10.0-rc.0 @schematics/angular: 0.3.1 @schematics/package-update: 0.3.1 typescript: 2.4.2 webpack: 3.10.0

Repro steps

  • ng build -prod

Observed behavior

<!-- Normally this includes a stack trace and some more information. -->
..\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:40
                callbacks[i](err, result);
                            ^

TypeError: callbacks[i] is not a function

### Desired behavior
Application compiled without any error


### Mention any other details that might be useful (optional)
It was working fine with 1.7.0-beta.3

nakah avatar Feb 08 '18 11:02 nakah

I am the same. The same problem with 1.6.8 too

zhekaus avatar Feb 08 '18 11:02 zhekaus

I have the same problem.

.../node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^
TypeError: callbacks[i] is not a function

Versions

@angular/core": "^5.2.4 @angular/cli": "^1.6.8 Node 9.4.0

Dependencies

"webpack": "3.10.0", "enhanced-resolve": "3.4.1",

RafaPegorari avatar Feb 08 '18 11:02 RafaPegorari

Duplicate of #9550

RafaPegorari avatar Feb 08 '18 12:02 RafaPegorari

npm install [email protected] is solved the problem

surajjadhav720 avatar Feb 08 '18 12:02 surajjadhav720

npm install [email protected] is solved the problem

not working form me

amitkumar-adeptia avatar Feb 08 '18 12:02 amitkumar-adeptia

npm install [email protected] also worked for me

nakah avatar Feb 08 '18 13:02 nakah

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.