We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Syncfusion Angular2 example from GitHub cannot install npm package

Hi,

Syncfusion example from GitHub https://github.com/syncfusion/angular2-seeds/tree/systemjs  cannot install npm package.


Using those commands:

git clone https://github.com/syncfusion/angular2-seeds/ -b systemjs

 > cd angular2-seeds

 > npm install

I encounter errors. I am not sure is it npm or syncfusion issue, but package for angular2 seems is not valid.

Error I get:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.17
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files (x86)\odejs\ode.exe" "C:\\Program Files (x86)\odejs\ode_modules\pm\\bin\pm-cli.js" "install"
npm ERR! node v5.7.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE

npm ERR! ej-angular2@14.4.20 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ej-angular2@14.4.20 postinstall script 'typings install'.npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ej-angular2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ej-angular2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ej-angular2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     D:\Practise\Angular2\angular2-seedspm-debug.log

Regards,
Milos

3 Replies

AS Abinaya Subbiah Syncfusion Team January 13, 2017 08:17 AM UTC

Hi Milos, 

Thanks for contacting Syncfusion support. 

We suspect that the issue “npm ERR! ej-angular2@14.4.20 postinstall: `typings install`” occurred due to typings not installed properly in system environment. So we recommend you to install typings package globally using the below command. 

npm install -g typings or     
npm install typings -g    
    
We also implemented Angular 2 sample browser using our JavaScript Angular 2 components.  
  
   
Please revert us back if you need further assistance on this.   
   
Regards,   
Abinaya S   



MI Milos January 13, 2017 01:41 PM UTC

Hi Abinaya,

Yes, that was the problem and now everything works fine.
Thank you very much. 

Regards,
Milos


AS Abinaya Subbiah Syncfusion Team January 16, 2017 04:49 AM UTC

Hi Milos, 

Thanks for the update.  

We are happy to hear that your requirement is achieved.   

Please let us know if you need further assistance, we are happy to assist you.  

Regards,  
Abinaya S  


Loader.
Live Chat Icon For mobile
Up arrow icon