fbessou / angular2-schema-form-demo

12 stars 19 forks source link

Cannot install demo #8

Open KissBalazs opened 7 years ago

KissBalazs commented 7 years ago

Hi there,

The Demo for me does not start. I did

  1. git clone repository
  2. npm install
  3. npm start

that results in this error (after successfully downloading dependencies) :

ERROR in ./src/main.browser.ts 
Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults (/home/forestg/projects/temp/angular2-schema-form-demo/node_modules/awesome-typescript loader/src/instance.ts:266:72)
at Object.ensureInstance (/home/forestg/projects/temp/angular2-schema-form demo/node_modules/awesome-typescript-loader/src/instance.ts:145:5) 
at compiler (/home/forestg/projects/temp/angular2-schema-form-demo/node_modules/awesome-typescript loader/src/index.ts:37:20)
at Object.loader (/home/forestg/projects/temp/angular2-schema-form-demo/node_modules/awesome-typescript-loader/src/index.ts:18:18)

my npm version is 4.1.1, NodeJS is 7.4.0 and Angular 2.4.3. Am I doing something wrong?

fbessou commented 7 years ago

The demo must be outdated, I'll take a look at it during the WE.

Nayana-Manchi commented 7 years ago

Same error as above. By when can we expect the fix?

fbessou commented 7 years ago

The demo should be working now !

avalonabecker commented 7 years ago

I get "Cannot find module 'rxjs/symbol/observable'" Error: Cannot find module 'rxjs/symbol/observable' at Function.Module._resolveFilename (module.js:469:15) Using node 6.9.5, npm 3.10.10

AlecTaylor commented 7 years ago
[default] Checking started in a separate process...
[default] /tmp/angular2-schema-form-demo/node_modules/@types/jasmine/index.d.ts:39:38 
    A parameter initializer is only allowed in a function or constructor implementation.
[default] /tmp/angular2-schema-form-demo/node_modules/@types/jasmine/index.d.ts:39:46 
    Cannot find name 'keyof'.
[default] /tmp/angular2-schema-form-demo/node_modules/@types/jasmine/index.d.ts:39:52 
    '=' expected.
[default] Checking finished with 3 errors

tsc Version 2.1.5, npm 4.1.2, node 7.7.1

aitorjs commented 7 years ago

Pull request upgrading dependencies of angular2-schema-form and angular-cli, among of things.

Here is the demo using this pull request.

Hope it helps!

intelinc commented 7 years ago

Thanks @aitoribanez! Your updated version fixed the issues I was having running the demo.