Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

[0.8.0] i can't use \\fileserver\xx.js to run node file #3542

@xunuo

Description

@xunuo

after installed nodejs 0.8. i can't use \fileserver\xx.js to run node file

for example:

C:\Users\nuo.xun>node \\10.20.157.43\f2ehint\lib\ide.js

fs.js:520
  return binding.lstat(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory 'C:\10.20.157.43'
    at Object.fs.lstatSync (fs.js:520:18)
    at Object.realpathSync (fs.js:1025:21)
    at tryFile (module.js:142:15)
    at Function.Module._findPath (module.js:181:18)
    at Function.Module._resolveFilename (module.js:336:25)
    at Function.Module._load (module.js:280:25)
    at Module.runMain (module.js:487:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

before node 0.8.0 , it's worked!

still can't run with unc paths

C:>node file://10.20.157.43/f2ehint/lib/ide.js

module.js:340
throw err;
^
Error: Cannot find module 'C:\file:\10.20.157.43\f2ehint\lib\ide.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.runMain (module.js:487:10)

at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions