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 installI 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: [email protected]
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! [email protected] postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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
SIGN IN To post a reply.
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! [email protected] 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
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
MI Milos
- Jan 12, 2017 03:20 PM UTC
- Jan 16, 2017 04:49 AM UTC