Remove all relative requires
See original GitHub issueConsider mandating use of npm link
& remove all relative requires. Prevents issues like #2325 as a result of nondeterminism in path.relative(). Also much easier to reason about 😃
Maybe not in scope for v4 but definitely for future.
Issue Analytics
- State:
- Created 8 years ago
- Comments:29 (25 by maintainers)
Top Results From Across the Web
deleting all the files inside a directory from a relative path
I have a file inside abc/def/ghi directory. let say a.txt I need to delete this a.txt from abc itself. I have tried pre...
Read more >Remove all path string from relative path - awk - Stack Overflow
I'm trying to remove all the path and only leave the file name, so it would be like this: dashboard.css icon-apache.png dashboard-commons.js ...
Read more >escaping relative path require hell in Node.js - Corey Cleary
require () wrapper - to ensure this. So code with relative paths becomes: const add = requireWrapper('helpers/operations/add'); add(2, 3); Rather than something ...
Read more >Delete (Remove) Files and Directories in Python - PYnative
We can delete a file using both relative path and absolute path. The path is the location of the file on the disk....
Read more >Remove absolute path support in Dir.open functions #7540
In the case where the application wants to work with either relative or absolute paths, then my suggestion in the description is to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seconded.
I’ll close this issue for now, since #2390 is not directly related to this!