This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
[pkg]: "postinstall": "tsd install" #240
Closed
Metadata
Metadata
Assignees
Labels
No labels
Activity
cloudlena commentedon Jan 29, 2016
I agree. As a person using the newer
typings
instead oftsd
, this breaks my installation.cebor commentedon Jan 29, 2016
same here
psi-4ward commentedon Jan 30, 2016
+1
for now i
npm i tsd
cebor commentedon Jan 31, 2016
strange thing is, that
tsd
is already added to devDepschore(package): Add explicit dependency on tsd
calebboyd commentedon Jan 31, 2016
@cebor, the problem is that dev dependencies are not installed for consumers
cebor commentedon Jan 31, 2016
yes you are right, so i think its better to remove the
postinstall
and document thetsd install
as a manual step for contributorsTheTedAdams commentedon Feb 1, 2016
+1 that this just broke our build.
postinstall
tries to runtsd install
on anyone installing this package from npm, which I don't think is what you were trying to do.With tsd in devDependencies there is no guarantee tsd has been installed on the consumer. As a consumer I would also much rather postinstall was just removed, rather than adding a dependency on a successful
tsd install
. We have had tsd fail with API rate limiting so much that we have removed it from our build process and just added our typings folders to git...PatrickJS commentedon Feb 3, 2016
+1
postinstall
breaks angular2 beta.3 unlesstsd
is installed as a dependencyfix(package.json): postinstall without tsd
Kikketer commentedon Feb 3, 2016
+1 Beta.3 fixes issues I have with multiple of the same components, but the dependency of installing tsd breaks my build on a build server. Moving back to beta.2 until this can be fixed.
jrisk commentedon Feb 4, 2016
same here,
npm install tsd -g
did fix the ERR messages atleast20 remaining items