Class-validator: Travis CI installation error: `typings: not found`

Created on 26 Jul 2016  路  7Comments  路  Source: typestack/class-validator

I got error during Travis CI building.

> [email protected] postinstall /home/travis/build/sanex3339/javascript-obfuscator/node_modules/class-validator
> typings install
sh: 1: typings: not found

This error comes after i removed typings package from package.json of my package.

Looks like "typings": "^1.3.1" must be in dependencies instead of devDependencies.

Most helpful comment

should be fixed in 0.5.0

All 7 comments

nope it should be in devDependency. Does npm runs postinstall scripts of class-validator when install your package?

I think I should remove typings install from postInstall from package.json

I try to make a PR with completely remove of typings package in favor of ts 2.0.0 and @types

I think for now its better to simply remove postInstall from package.json. I will solve your problem. I don't want to adopt ts 2.0 until it completely released and get a bit of people adoption.

any ETA?

should be fixed in 0.5.0

Was this page helpful?
0 / 5 - 0 ratings