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.

Relative paths fail due to regexp typo

See original GitHub issue

https://github.com/webpack/memory-fs/blob/master/lib/MemoryFileSystem.js#L39 I think it should be /^[A-Za-z]+/ instead of /^[A-Za-z]:/ over there.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
stephenmathiesoncommented, May 6, 2016

@NicholasGWK thats what ive got too. pretty annoying…

screen shot 2016-05-06 at 09 05 06
0reactions
sokracommented, Sep 7, 2016

output.path must be an absolute value. This is also required by webpack.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storybook fails when relative paths to stories don't match entry ...
With unusual paths to stories in main.js , it is possible to get stories whose relative path doesn't match the regex that gets...
Read more >
Python Regex to replace absolute paths in text to relative ...
Since it's all Python, I would do something like this: import re thestring = "String that has a path as /Users/MyName/moreofPath/evenmore/ ...
Read more >
Can we give regular expression in Resolve Path to Policies ...
No, you can't use Regex syntax in a relative path. And, you can't directly define a relative path with /fixed/value/dynamic/dynamic/fixed/value, ...
Read more >
perlre - Perl regular expressions - Perldoc Browser
This page describes the syntax of regular expressions in Perl. ... it is either a fatal syntax error, or treated as a regular...
Read more >
Regular Expressions: Regexes in Python (Part 1)
In this tutorial, you'll explore regular expressions, also known as regexes, in Python. A regex is a special sequence of characters that defines...
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