Sublime-HTMLPrettify icon indicating copy to clipboard operation
Sublime-HTMLPrettify copied to clipboard

Error: ENOENT: no such file or directory, uv_cwd

Open anudeepjusanu opened this issue 8 years ago • 3 comments

Unable to prettify getting runtime error

anudeepjusanu avatar Jan 05 '18 07:01 anudeepjusanu

@anudeepjusanu Could you share the screenshot

sathiz1993 avatar Jan 05 '18 13:01 sathiz1993

I'm having the same issue, and this is what i got after trying to prettify.

Node.js encountered a runtime error: /home/kondanta/.config/sublime-text-3/Packages/HTML-CSS-JS Prettify/build/js-transpiled/node_modules/graceful-fs/polyfills.js:11
    cwd = origCwd.call(process)
                  ^

Error: ENOENT: no such file or directory, uv_cwd
    at process.cwd (/home/kondanta/.config/sublime-text-3/Packages/HTML-CSS-JS Prettify/build/js-transpiled/node_modules/graceful-fs/polyfills.js:11:19)
    at Object.resolve (path.js:1175:25)
    at Function.Module._resolveLookupPaths (module.js:431:17)
    at Function.Module._resolveFilename (module.js:549:20)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/kondanta/.config/sublime-text-3/Packages/HTML-CSS-JS Prettify/build/js-transpiled/main.js:138:18)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)

kondanta avatar Jan 26 '18 20:01 kondanta

Just close your current terminal window and run again ios, android commands. It will work.

kaushal9678 avatar Dec 23 '18 15:12 kaushal9678