Closed avihaymenahem closed 7 years ago
The type declaration files are included in the ng-table npm package itself. This is the same as angular 2 - it does not have any external @types package(s)
@ccrowhurstram when im running npm install, it fails becuase of the following: "dependencies": { "@types/angular": "^1.5.13" }
So if it doesnt need it, why its on deps?
Ah, OK I see.
Sorry I had it my head that you were talking about wanting to install type declarations for the ng-table code itself.
@types/angular is a package over on the npm registry. This is maintained by the angular team.
I can see that it is available on the npm registry by running the following cmd: npm info @types/angular versions --json
So can't really help why it's not installing on your machine...
i tried it from 6 different servers in 6 different locations (amsterdam, israel, usa, china, moscow, australia), and none of them seems to recognize that... weird
did you try running the cmd I used to list the versions of @types/angular on npm?
I see the following:
The Error:
@ccrowhurstram Versions returns error on one server, and null response on the other
Looks like it's a problem with your environment... maybe permissions related
New envs, new machines, on local, aws, softlayer and vultr. Brand new , with no changes than default. Weird...
computers... can't live with them, can't live without
Seems like when working with private repos (Nexus, etc) you need to explicitly set the registry to npm's one (Even when proxy is on to the original) :)
@ccrowhurstram Thanks!!
Running npm install with @types/angular returns error and cant install.
When seaeched for types/angular on github, ive seen it doesnt exist...
Any solution? (--only=dev doesnt work also)