You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after paring our gulpfile down to the small example you see below, I'm getting numerous re-compiles of the same Typescript files. If you see the console output below, main.tsx's test error is reported 11 times in total!
This has been happening since the first time I tried tsify. I have no tsconfig.json and can't think of any other files that might interfere with the build. RHEL 6.6, Node v5.9.0
[22:09:38] Using gulpfile /web/pane/example/gulpfile.js
[22:09:38] Starting 'default'...
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
/web/pane/example/app/TitleBar.tsx(109,2): Error TS2354: No best common type exists among return expressions.
/web/pane/example/app/TitleBar.tsx(125,2): Error TS2354: No best common type exists among return expressions.
app/UIPane.tsx(162,2): Error TS2354: No best common type exists among return expressions.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
/web/pane/example/app/TitleBar.tsx(109,2): Error TS2354: No best common type exists among return expressions.
/web/pane/example/app/TitleBar.tsx(125,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(53,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(129,2): Error TS2354: No best common type exists among return expressions.
app/UIPane.tsx(162,2): Error TS2354: No best common type exists among return expressions.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
/web/pane/example/app/TitleBar.tsx(109,2): Error TS2354: No best common type exists among return expressions.
/web/pane/example/app/TitleBar.tsx(125,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(53,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(129,2): Error TS2354: No best common type exists among return expressions.
app/UIPane.tsx(162,2): Error TS2354: No best common type exists among return expressions.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
/web/pane/example/app/TitleBar.tsx(109,2): Error TS2354: No best common type exists among return expressions.
/web/pane/example/app/TitleBar.tsx(125,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(53,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(129,2): Error TS2354: No best common type exists among return expressions.
app/UIPane.tsx(162,2): Error TS2354: No best common type exists among return expressions.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
/web/pane/example/app/TitleBar.tsx(109,2): Error TS2354: No best common type exists among return expressions.
/web/pane/example/app/TitleBar.tsx(125,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(53,2): Error TS2354: No best common type exists among return expressions.
app/IOPane.tsx(129,2): Error TS2354: No best common type exists among return expressions.
app/UIPane.tsx(162,2): Error TS2354: No best common type exists among return expressions.
app/main.tsx(7,5): Error TS2322: Type 'number' is not assignable to type 'string'.
[22:10:12] Finished 'default' after 34 s
The text was updated successfully, but these errors were encountered:
After investigating further, it appears tsify lacks support for any sort of non-local modules, whether referenced by NODE_PATH (using a modified Typescript) or by symlink (#135).
This makes it difficult if not impossible for our org to use tsify, since we have a large number of in-house JS libraries which we cannot afford to duplicate on disk for every project.
Even after paring our gulpfile down to the small example you see below, I'm getting numerous re-compiles of the same Typescript files. If you see the console output below,
main.tsx
's test error is reported 11 times in total!This has been happening since the first time I tried tsify. I have no tsconfig.json and can't think of any other files that might interfere with the build. RHEL 6.6, Node v5.9.0
gulpfile.js
running gulp
The text was updated successfully, but these errors were encountered: