Ts-node: Can't install v4.0.1 because git dependencies

Created on 11 Dec 2017  路  5Comments  路  Source: TypeStrong/ts-node

I am behind a proxy.

Looking at the package.json I see:

"@types/v8flags": "types/npm-v8flags#de224ae1cd5fd7dbb4e7158a6cc7a29e5315930d",
"@types/yn": "types/npm-yn#ca75f6c82940fae6a06fb41d2d37a6aa9b4ea8e9",

I am getting this error:

npm ERR! git clone --template=/u1/cibuild/.npm/_git-remotes/_templates --mirror [email protected]:types/npm-yn.git /u1/cibuild/.npm/_git-remotes/git-github-com-types-npm-yn-git-ca75f6c82940fae6a06fb41d2d37a6aa9b4ea8e9-7f8e5da1: Cloning into bare repository '/u1/cibuild/.npm/_git-remotes/git-github-com-types-npm-yn-git-ca75f6c82940fae6a06fb41d2d37a6aa9b4ea8e9-7f8e5da1'...

Is there any plan to use the types from npmjs.org?

Most helpful comment

Not working behind our coporate proxy, too.

All 5 comments

Not working behind our coporate proxy, too.

Are these types required at runtime? I would assume that moving them into the devDependencies would resolve the Proxy issue, without requiring a different source.

Those deps even not needed in prod version https://github.com/TypeStrong/ts-node/issues/475 they just should be moved to devDependencies

Going to close as a duplicate of https://github.com/TypeStrong/ts-node/issues/475 for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

remojansen picture remojansen  路  4Comments

conordickinson picture conordickinson  路  4Comments

cevek picture cevek  路  4Comments

max-block picture max-block  路  4Comments

motss picture motss  路  4Comments