Skip to content
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

Cannot find module 'flightplan' : Allow for global only install #10

Closed
fform opened this issue Mar 4, 2014 · 2 comments
Closed

Cannot find module 'flightplan' : Allow for global only install #10

fform opened this issue Mar 4, 2014 · 2 comments

Comments

@fform
Copy link

fform commented Mar 4, 2014

I'm confused as to why Flightplan requires both a global and local install.

If you install globally, and then try to run a plan with fly ... you get the error Cannot find module 'flightplan'

Installing locally first fixes the problem, but I don't get why flightplan has to exist in two places.

Solution

Allow Flightplan to run without installing locally.

@fform
Copy link
Author

fform commented Mar 4, 2014

Annnnnddd, it was my issue.

For reference, it's a path thing. In my case it's a homebrew osx install of node and needing to add
export NODE_PATH="/usr/local/lib/node_modules"
to my ~/.bash_profile

@fform fform closed this as completed Mar 4, 2014
@pstadler
Copy link
Owner

pstadler commented Mar 5, 2014

👍

An alternative solution would be to install it locally and use ./node_modules/.bin/fly <destination>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants