question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation error caused by typings

See original GitHub issue

I’m trying to install ng-lightning to an ASP.MVC 5 project using Visual Studio.NET 2015 and packages.config and I’m getting this error on installation:

====Executing command 'npm install'====

npm http GET https://registry.npmjs.org/ng-lightning
npm http 304 https://registry.npmjs.org/ng-lightning
> ng-lightning@0.7.0 postinstall D:\Projects\xxx\Source\Management\Management.Web.UI\node_modules\ng-lightning
> typings install
typings ERR! message Unable to resolve Typings dependencies
npm ERR! ng-lightning@0.7.0 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ng-lightning@0.7.0 postinstall script.
npm ERR! This is most likely a problem with the ng-lightning 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 their info via:
npm ERR!     npm owner ls ng-lightning
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\Web Tools\\External\\\\node\\node" "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\Web Tools\\External\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd D:\Projects\xxx\Source\Management\Management.Web.UI
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm

====npm command completed with exit code 1====

My packages.config file:

{
    "version": "1.0.0",
    "name": "ASP.NET",
    "private": true,
    "dependencies": {
        "angular2": "2.0.0-beta.15",
        "systemjs": "0.19.26",
        "es6-promise": "^3.1.2",
        "es6-shim": "^0.35.0",
        "reflect-metadata": "0.1.2",
        "rxjs": "5.0.0-beta.2",
        "zone.js": "0.6.10",
        "bootstrap": "^3.3.6",
        "jquery": "^2.2.3",
        "underscore": "1.8.3",
        "fontawesome": "4.5.0",
        "bootstrap-material-design": "^0.5.9",
        "typings": "0.8.1",
        "ng-lightning": "0.7.0"
    },
    "devDependencies": {
        "gulp": "3.9.1",
        "gulp-clean": "0.3.2",
        "gulp-concat": "2.6.0",
        "gulp-continuous-concat": "0.1.1",
        "gulp-watch": "4.3.5"
    }
}

Any ideas?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ppolyzoscommented, Apr 27, 2016

To overcome this issue please install typings globally before installing ng-lightning. npm install -g typings and then npm install --save ng-lightning

0reactions
bekoscommented, May 16, 2016

@deastr I now realize that your issue may be related to #90. I will try to fix this soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

typings install failing · Issue #463 - GitHub
I am following "Angular 2" quickstart. When trying to do "npm install" it is failing at "typings install" step.
Read more >
npm post-install typings not working correctly - Stack Overflow
when I run npm install in my directory I get an error: 'typings' is not recognized as an internal or external command, operable...
Read more >
Installation of typings error while setting up the Angular2 ...
Hi,. I'm trying to setup the typescript Angular2 environment. but its constantly failing when it tries to install typings. Below is the error...
Read more >
Failure to install other language typing after update Windows ...
OS language in English and I have installed other languages / typing in Chinese (Taiwan) & Japanese before updated. I have tried to...
Read more >
Importerror no module named typing : Tricks to Fix
Importerror no module named typing error cause is either Typing python module is not available or its installation is improper.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found