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.
Unfortunately, activation email could not send to your email. Please try again.

Syncfusion Angular2 example from GitHub cannot install npm package

Thread ID:

Created:

Updated:

Platform:

Replies:

128290 Jan 12,2017 10:20 AM Jan 15,2017 11:49 PM Angular 3
loading
Tags: General
Milos
Asked On January 12, 2017 10:20 AM

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)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-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-seeds\npm-debug.log

Regards,
Milos

Abinaya Subbiah [Syncfusion]
Replied On January 13, 2017 03:17 AM

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   


Milos
Replied On January 13, 2017 08:41 AM

Hi Abinaya,

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

Regards,
Milos

Abinaya Subbiah [Syncfusion]
Replied On January 15, 2017 11:49 PM

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  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;