fbessou / angular2-schema-form-demo

12 stars 19 forks source link

The demo application does not start #4

Closed simonschllng closed 8 years ago

simonschllng commented 8 years ago

The demo failed in npm start with message:

ERROR in [default] ~/angular2-schema-form-demo/src/app/app.component.ts:2:9 
Module '"~/angular2-schema-form-demo/node_modules/angular2-schema-form/dist/src/index"' has no exported member 'Form'.

The browser console logs:

schema-form.module.ts:30 Uncaught TypeError: core_1.NgModule is not a function

npm install encountered unmet dependencies:

angular2-schema-form-demo@1.0.0-alpha.2 ~/angular2-schema-form-demo
├── UNMET PEER DEPENDENCY @angular/common@2.0.0-rc.4
├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0-rc.4
├── UNMET PEER DEPENDENCY @angular/core@2.0.0-rc.4
├── UNMET PEER DEPENDENCY @angular/forms@0.2.0
├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0-rc.4
├── UNMET PEER DEPENDENCY @angular/platform-browser-dynamic@2.0.0-rc.4
├─┬ UNMET PEER DEPENDENCY @angular/platform-server@2.0.0-rc.4
│ └── parse5@1.3.2 
...
fbessou commented 8 years ago

I made the update to angular2 RC6. It should work now.