You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm-lazy-mirror
module.js:340
throw err;
^
Error: Cannot find module 'c:\Users\rmcguir\AppData\Roaming\npm\node_modules\npm-lazy-mirror\lib\node_modules\npm-lazy-mirror\server.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
The text was updated successfully, but these errors were encountered:
Just checked; This appears to work on Linux, so this likely a Windows-specific issue. Looks like this issue has something to do with how y'all are constructing the absolute path to the bin script.
(Linux constructs from the system-level bin script, and Windows constructs from the package-level bin script.)
robatron
changed the title
Pathing issue with npm-lazy-mirror global commandnpm-lazy-mirror global command broken on Windows
Apr 29, 2014
This is happening because on Unix, global binaries are a symlink from /usr/bin/$PACKAGE -> /usr/lib/node_modules/$PACKAGE/bin/$PACKAGE, so $DIR will be /usr/bin, but on Windows, it'll be $HOME/AppData/Roaming/npm/node_modules/npm-lazy-mirror/bin.
This means that on Unix, the bin command will (correctly) be
The text was updated successfully, but these errors were encountered: