-
Notifications
You must be signed in to change notification settings - Fork 63
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
Error: Cannot find module '../lib/cli' (on MacOS) #89
Comments
Running into the same thing right now. Latest redux-cli. |
Not happening on Ubuntu, I have no access to MacOS. Could someone olease confirm if this is still the case today? And any insight on why this might be happening would also be appreciated. |
Should maybe remove the 'new' command actually or have it go to |
Working for me on MacOS Sierra (10.12.6). I'm managing Node installs with nvm. Tested with: |
+1 for new => create-react-app |
One way that error can happen is to execute the cli in such a way that it doesn't think it's in the directory it's supposed to be in. This probably is a problem with how npm installed the package or how @jkurei path is defined. |
With a complete rewrite of the CLI, I think this bug or misconfiguration is a relic of history now, and such I'm closing this. Please feel free if you have the problem after the 2.0 release. |
I was gonna try redux-cli, but I can't get past this and I don't know how to troubleshoot it. This is what I'm getting:
`{ Desktop } > redux new rc-test
module.js:327
throw err;
^
Error: Cannot find module '../lib/cli'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/jesusiniesta/.npm-packages/lib/node_modules/redux-cli/bin/redux.js:3:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)`
I'm on MacOS, using npm 3.10.8 and node 4.3.1. I've reinstalled npm, but it wasn't it. I couldn't replicate this in an Ubuntu system, which made me suspect it's something weird on my machine, but other global modules are working just fine.
The text was updated successfully, but these errors were encountered: