Skip to content

Torba::Errors::NothingToImport: {:package=>"angular", :path=>"lib/angular.js"} on Heroku deploys #22

Description

@bhgames

Hey, just an FYI, when I deployed to my staging server a slightly altered path definition for my angular package, I got this error:

Torba::Errors::NothingToImport: {:package=>"angular", :path=>"lib/angular.js"} 

I think it was because my cache had cached a whitelisted set of files from the NPM that didn't include my new path. The fix for this was:

heroku plugins:install https://github.com/heroku/heroku-repo.git

heroku repo:purge_cache -a my-staging-app

The normal assets:clobber call didn't work, so I used heroku-repo's purge_cache ability to do it. This shouldn't happen too often, as normally you're adding rows to the Torba file, not changing the directories you're whitelisting.

Activity

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