question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conventions `assets` using function fails

See original GitHub issue

As an example, Im returning true for the assets path:

    assets: (path) ->
      console.log path
      minimatch path, 'src/assets/*'

getting this error:

10 Sep 21:11:12 - error: Copying of 'src/assets/i1600x1200.jpg' failed. Error: EISDIR, open '_public'

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
wpratercommented, Sep 11, 2013

Nice! Had to make sure assets was matching the full path. Thanks for walking through these ideas!!

This is working for me:

    assets: (path) ->
      /src(\/|\\)assets(\/|\\)/.test(path) or
        path is 'src/app/' or
        minimatch path, 'src/app/**/*.tpl.html'
0reactions
es128commented, Sep 11, 2013

Cool! Good night 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixed asset depreciation conventions - Finance | Dynamics 365
This article describes depreciation conventions for fixed assets. Depreciation conventions are used to determine when and how depreciation ...
Read more >
Depreciation Run Error APP-OFA-47155: Error - Oracle Support
Oracle Assets - Version 12.1.3 and later: Depreciation Run Error APP-OFA-47155: Error: Unable to Insert Convention Records.
Read more >
Assets Error Listings APP-OFA-XXXX (文档 ID 1460268.1)
This note consolidates known causes/fixes for issues within the Assets module that raise errors prefixed with APP-OFA-XXXXX. CAUSE. Multiple ...
Read more >
How to Create Your Own Asset Naming Convention
Asset naming conventions are an important, yet often ignored, step of CMMS data ... Make your assets easy to identify with these helpful...
Read more >
Depreciation Methods Are Constrained by Legal Requirements
If you were using the usual MACRS method, which includes a half-year convention, you're treated as owning the asset for half of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found