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.

Handle absolute paths on Windows

See original GitHub issue

Based on https://github.com/vojtajina/testacular/issues/249

Let’s add another if (windows) and handle the absolute paths on windows to something like /absolute/c/path/to/file.js.

Issue Analytics

  • State:open
  • Created 11 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
igomezalcommented, Feb 10, 2019

With karma v4.0.0 gives me the following error: [web-server]: 404: /absoluteC:/Users/..., I am not sure but is it possible that it is not creating the correct route?

Is there any workaround to make it work on windows?

1reaction
dignifiedquirecommented, Jul 16, 2015

Not that I know about sorry, but I hope to get this fixed soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

File path formats on Windows systems | Microsoft Learn
If all three components are present, the path is absolute. If no volume or drive letter is specified and the directory name begins...
Read more >
How to use absolute paths in windows file explorer - Super User
Agreed: this is a deficiency in Windows Explorer, but there is a workaround: press Shift while right-clicking a location in either the left ......
Read more >
Hackathons/Laptop setup/Windows command line - MediaWiki
An absolute path contains the full set of directories from the root of the file system up to your target file or directory....
Read more >
Resolve absolute path from relative path and/or file name
In batch files, as in standard C programs, argument 0 contains the path to the currently executing script. You can use %~dp0 to...
Read more >
Python 3 Quick Tip: The easy way to deal with file paths on ...
Notice that I've hardcoded the path using Unix-style forward slashes since I'm on a Mac. This will make Windows users angry. Technically this ......
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