Wrong path for components in Windows
See original GitHub issueBug Report
Describe the bug
When try to run dev project it return an error about wrong imports from components without the slash bar, probably something with windows path.
To Reproduce
- Run
npm install
- Run
npm dev
ERROR Failed to compile with 3 errors 09:20:48
These dependencies were not found:
* srccomponentsAlert.mdx in ./.docz/app/imports.js
* srccomponentsButton.mdx in ./.docz/app/imports.js
* srcindex.mdx in ./.docz/app/imports.js
To install them, you can run: npm install --save srccomponentsAlert.mdx srccomponentsButton.mdx srcindex.mdx
Enviroment
- OS: Windows 10
- Node/npm version: v10.4.0 / 6.0.0
Additional context/Screenshots
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Wrong path for *. Sys files or error DIRID %12%
I have got to a situation where, when installing a devices needing the USB Drivers, Windows looks for the *.sys files in c:\windows\inf ......
Read more >Windows: Generating library components gets incorrect path ...
Now in Nx 0.3.0, the command creates a root of libs/mymodule/src on Windows as well. If I manually change the root to use...
Read more >reactjs - React - Import module from wrong path - Stack Overflow
I'm developing a library of components for my projects in React, ... When compiling, it tries to import the file from a wrong...
Read more >11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
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). ... bar') equivalent to PurePosixPath('bar') , which is wrong...
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
@itaditya if you could please test the pull request branch in your machine
@pedronauck I see you have labelled the issue as
help wanted
. I’d love to help. Can you suggest some places I should check out to track the cause of the bug. This will give me a good headstart