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
I'm currently trying to update an (old) Meteor package to TypeScript (TurkServer/turkserver-meteor#98), and for whatever reason can't get Meteor to actually build any of the .ts files using either this package or barbatus:typescript. I've tried meteor test-packages --release with versions 1.4.4.6 through 1.8.1, and keep getting errors like this:
While building package mizzao:turkserver:
error: No plugin known to handle file 'server/index.ts'. If you want this file to be a static asset, use addAssets instead of addFiles; eg, api.addAssets('server/index.ts', 'client').
error: No plugin known to handle file 'client/index.ts'. If you want this file to be a static asset, use addAssets instead of addFiles; eg, api.addAssets('client/index.ts', 'client').
I know this is probably user error, but having been a frequent Meteor user from 0.5 through 1.3 I've tried everything I know. If you know of any stupid newb mistakes that might be causing this, I'd appreciate tips. Here's the (WIP) package.js:
Note that I don't get this error until 0.8.1 (the oldest barbatus ports), but from 0.9.0 onward where it seems meteor-typescript was integrated into typescript-compiler, it has this issue.
I think you're adding .ts files to a meteor package here. I'm not sure this package supports that. We're using the package to just transpile standard .ts files to include them in the static-html bundle. Might need to change this package to include a compiler that actually works on Meteor package files. You could also try the newly added official way of doing things with Typescript :)
I'm currently trying to update an (old) Meteor package to TypeScript (TurkServer/turkserver-meteor#98), and for whatever reason can't get Meteor to actually build any of the
.ts
files using either this package orbarbatus:typescript
. I've triedmeteor test-packages --release
with versions 1.4.4.6 through 1.8.1, and keep getting errors like this:I know this is probably user error, but having been a frequent Meteor user from 0.5 through 1.3 I've tried everything I know. If you know of any stupid newb mistakes that might be causing this, I'd appreciate tips. Here's the (WIP)
package.js
:The text was updated successfully, but these errors were encountered: