Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find file in E drive because of case (looking in e drive) #10634

Closed
rachelgshaffer opened this issue Aug 17, 2016 · 5 comments
Closed
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster

Comments

@rachelgshaffer
Copy link

  • VSCode Version: 1.4.0
  • OS Version: Windows 10 Pro, version 1511

Steps to Reproduce:

  1. Create a project in your e drive
  2. Build it
  3. Run it using node from within VS code
  4. Cannot find server.js file

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:117 Internal module e%3A%5CRepos%5CAdvent_1%5CReactPrototype%5Cserver.js not found.: Error: Internal module e%3A%5CRepos%5CAdvent_1%5CReactPrototype%5Cserver.js not found.
at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:85:1392
at Object.m [as _notify](file:///C:/Program Files %28x86%29/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:30:8153)
at Object.B.enter (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:30:11658)
at i.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:30:12979)
at i.Class.define._error (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:30:12496)
at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:81:20894
at t.e.dispatch (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:81:22001)
at t.e.handleData (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:81:21525)
at Socket. (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:81:20754)
at emitOne (events.js:90:13)

It cannot find the file because it is in the E drive, not the e drive. It cannot handle the case. I moved the repo to my C drive and it worked fine.

@rachelgshaffer
Copy link
Author

Actually, the error occurs in the C drive as well. When restarting the project multiple times while it is running, it eventually ends up in a strange state where it cannot find certain files.

@weinand
Copy link
Contributor

weinand commented Aug 18, 2016

@rachelgshaffer what version of node are you using?
Are you using the React Native extension?

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues *question Issue represents a question, should be posted to StackOverflow (VS Code) labels Aug 18, 2016
@rachelgshaffer
Copy link
Author

6.3.1

@weinand
Copy link
Contributor

weinand commented Aug 18, 2016

@rachelgshaffer thanks!

In node v6.x the drive letter casing was changed for some builtin functions (see nodejs/node#6624)
Could you please try whether this problem exists in node v5.12 too.

@weinand weinand added info-needed Issue requires more information from poster and removed *question Issue represents a question, should be posted to StackOverflow (VS Code) labels Aug 18, 2016
@weinand
Copy link
Contributor

weinand commented Aug 19, 2016

@rachelgshaffer since your steps from above are not reproducible (e.g. what does 'Build It' mean?), I will rely on you to answer my questions. Thanks for your understanding.

@weinand weinand closed this as completed Apr 6, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants