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.

Wrong path for components in Windows

See original GitHub issue

Bug 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

  1. Run npm install
  2. 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 image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marceloavfcommented, Jun 13, 2018

@itaditya if you could please test the pull request branch in your machine

1reaction
itadityacommented, Jun 13, 2018

@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

Read more comments on GitHub >

github_iconTop 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 >

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