Skip to content

error: No plugin known to handle file 'foo.ts'. #20

@mizzao

Description

@mizzao

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:

https://github.com/TurkServer/turkserver-meteor/blob/typescript/package.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions