Skip to content

running "meteor add stylish" causes errors #1

Open

Description

@jacobrayschwartz

Hi,

First of all, thanks for the package, looks awesome. But on running "meteor add stylish" I get the following errors:

$ meteor add stylish
 => Errors while adding packages:                                                  

While building package stylish:
error: No plugin known to handle file 'fonts/glyphicons-halflings-regular.eot'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('fonts/glyphicons-halflings-regular.eot', 'client').
error: No plugin known to handle file 'fonts/glyphicons-halflings-regular.svg'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('fonts/glyphicons-halflings-regular.svg', 'client').
error: No plugin known to handle file 'fonts/glyphicons-halflings-regular.ttf'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('fonts/glyphicons-halflings-regular.ttf', 'client').
error: No plugin known to handle file 'fonts/glyphicons-halflings-regular.woff'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('fonts/glyphicons-halflings-regular.woff', 'client').
error: No plugin known to handle file 'fonts/glyphicons-halflings-regular.woff2'. If you want this file to be a static asset, use addAssets instead
of addFiles; eg, api.addAssets('fonts/glyphicons-halflings-regular.woff2', 'client').

Thanks!

Activity

  1. adrprado commented on Nov 14, 2015

    @adrprado

    Edit package.js:

    Replace this:

      api.addFiles([
      // Bootstrap 3 font definitions
        'fonts/glyphicons-halflings-regular.eot',
        'fonts/glyphicons-halflings-regular.svg',
        'fonts/glyphicons-halflings-regular.ttf',
        'fonts/glyphicons-halflings-regular.woff',
        'fonts/glyphicons-halflings-regular.woff2'
      ], ['client']);
    

    with this:

      api.addAssets([
      // Bootstrap 3 font definitions
        'fonts/glyphicons-halflings-regular.eot',
        'fonts/glyphicons-halflings-regular.svg',
        'fonts/glyphicons-halflings-regular.ttf',
        'fonts/glyphicons-halflings-regular.woff',
        'fonts/glyphicons-halflings-regular.woff2'
      ], ['client']);
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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