HyperReload icon indicating copy to clipboard operation
HyperReload copied to clipboard

node.js error when running from Windows network path

Open fredrikeldh opened this issue 10 years ago • 0 comments

When running HyperReload from a Windows network path, like \\MY-COMPUTER\HyperReload\, there is a fatal node.js exception on startup. This is the log I get using node-webkit v0.11.2 and HyperReload commit 00da8aa1b0e7f56f5eb8cc6cc8b5367a9aaa89c7.

Error: Cannot find module '../server/prepare-settings.js'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:273:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at window.require (<anonymous>:4:17)
    at file://my-computer/HyperReload/hyper/ui/hyper-ui.js:35:1

It seems the bug is part of node.js. I've tried using NODE_DEBUG=module to find out more, but it seems node-webkit ignores that environment variable.

fredrikeldh avatar Dec 12 '14 11:12 fredrikeldh