2017-07-19 2 views
2

Weiß jemand, was diesen Buildfehler verursacht?Angular build error "..hat kein exportierter Member 'ɵReflectorReader'."

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/compile_metadata.d.ts (8,109): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵLifecycleHooks'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/template_parser/template_ast.d.ts (8,27): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵLifecycleHooks'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/directive_resolver.d.ts (8,27): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/ng_module_resolver.d.ts (8,26): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/pipe_resolver.d.ts (8,22): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/metadata_resolver.d.ts (8,75): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.

ERROR in /Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/compiler/src/aot/static_reflector.d.ts (8,10): Module '"/Users/bv/Documents/GDPTAngular/gdpt/node_modules/@angular/core/core"' has no exported member 'ɵReflectorReader'.

+0

können Sie uns mitteilen, welche Änderungen von Ihnen ausgelöst wurden, hat diesen Fehler ausgelöst? – Dhyey

+0

sieht es so aus, als wolle es Ressourcen von '@ angular/core/core' anstatt von '@ angular/core' laden. Wir brauchen mehr Informationen. Wie sehen Ihre Importanweisungen aus? benutzen sie webpack? – LLai

+0

Wurde das gelöst? Ich habe das gleiche Problem. Soll ich eine neue Frage stellen, da dieser Thread anscheinend gestorben ist? – larslars

Antwort

2

Ich hatte diesen Fehler. Aktualisieren Sie Ihre Paket.json

"@angular/common": "4.1.3", 
"@angular/compiler": "4.1.3", 
"@angular/compiler-cli": "4.1.3", 
"@angular/core": "4.1.3", 

und npm installieren.

1

Das ist mir passiert, als ich meine angular-cli auf Version 1.3.0 aktualisiert, @horus Lösung löste mein Problem.

Nur für den Fall, löschen Sie den Ordner node_modules und machen Sie eine neue "npm install".

+0

Danke Karma, npm install fixed es. –

Verwandte Themen