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.

Breaks when used in a subdirectory

See original GitHub issue

Thanks for the excellent tool!

The CLI seems to expect activity to happen in the current working directory. This npm script causes several errors:

{
    "visual:approve": "reg-cli test/latest test/approved test/diffs --report test/report.html --json test/report.json"
}

But this one works perfectly:

{
    "visual:approve": "cd test && reg-cli latest approved diffs --report report.html --json report.json"
}

A sampling of the errors: Error: ENOENT: no such file or directory, unlink './approved/[IMG]' Error: ENOENT: no such file or directory, open './latest/[IMG]

It’s also possible I’m just misunderstanding the usage.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bitjsoncommented, Feb 17, 2018

Fantastic, thanks! Seems to be working as expected now. 👍

0reactions
bokuwebcommented, Feb 16, 2018

Oops, sorry… fixed by https://github.com/reg-viz/reg-cli/pull/126. @bitjson Could you please try v0.11.2 if you get a chance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does being in a (sub)directory break dependency injection?
I have the following directory structure: Root. App. app.module.ts; app.component.ts; app.component.html; test.component.ts; services.
Read more >
Glob passthrough breaks watch in subdirectories · Issue #1513
I keep each page in its own directory (so post/my-post/my-post.md contains the content for /post/my-post/ ) and images in that same directory ...
Read more >
Moving Discourse to subdirectory caused all uploads to break
The only noticeable problem was that this broke all current and new uploads. Existing uploads 404 from nginx, and new uploads fail with...
Read more >
Breaks My Site (Multisite Subdirectory) - WordPress.org
Hello,. I am developing a dedicated support site on a multisite network with the subdirectory path, mysite.com/support/. I was planning to use WP...
Read more >
Breaking Down Subdirectories, Subdomains, and Standalone ...
In this episode, Matt Nickols (CEO of MarketSnare), Elliot Olson (Sales & Marketing Manager of MarketSnare), and Kevin Mullett (VP of ...
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