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.

path concatenation without `/` in Windows

See original GitHub issue

Hey there!

Got super excited when I found this, but I’m having some issues:

Module not found: Can't resolve 'C:UsersloganProjectscensusLUCA-appealslayoutsdocs-page' in 'C:\Users\logan\Projects\census\LUCA-appeals\pages'

Might this be an OS issue? Which are you using?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jescalancommented, Sep 24, 2019

We are now running our test suite in CI on both linux and windows containers to prevent any future regression ✨

1reaction
jmfurycommented, Jul 19, 2019

@loganpowell We looked into the Windows path issues and have opened a pull request here: https://github.com/hashicorp/next-mdx-enhanced/pull/14

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I concatenate two file paths in batch script without the ...
The most reliable way is to use a for loop and the ~f modifier: for %%I in ("D:\WinLibraryes\\Libraries\.\python\wrong\..\\win\") do @echo/%~fI ...
Read more >
CMD: Append to path without duplicating it? - Super User
How do I avoid duplicating it (i.e. check whether it is already contained in the PATH "string"). Remarks: Related: How do I append...
Read more >
Path.Join Method (System.IO) - Microsoft Learn
This method simply concatenates path , path2 , path3 and path4 and adds a directory separator character between any of the path components...
Read more >
String Concatenation - Python Programming Tutorials
As you may have guessed, this is not the correct method. Instead, we use os.path.join . For example: # double back-slash for window's...
Read more >
pathlib — Object-oriented filesystem paths — Python 3.11.1 ...
If you want to manipulate Windows paths on a Unix machine (or vice versa). You cannot instantiate a WindowsPath when running on Unix,...
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