-
Notifications
You must be signed in to change notification settings - Fork 65
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
Problem with setting up #28
Comments
@law-liet Thanks for the report! Can you start with a clean directory and try going through the setup instructions one more time? https://github.com/famous/framework#setup--installation We pushed a few fixes and improvements to this process yesterday that may have resolved the issue you're seeing. If you still get the same issue, would you be able to post the exact commands that you ran so we can take a close look? Also -- it might be helpful if we could see the contents of your
And copy and paste that output into a Gist. |
I started a clean directory. I uninstalled and reinstalled
Then, I got:
|
OK, thanks @law-liet ! There is a missing piece to the install that we overlooked. Can you try running @wgester - Would it be possible to add a step to the Famous CLI that will first register a user, or create a session, if one does not already exist when the user attempts to run Otherwise we can add a note to the README that indicates that they should run |
Now, I ran
I still got the same message in my first post and nothing in the browser.
Something I noticed in part of the message after running
I don't know if that worth noticing, I just put it here. |
@law-liet I noticed that, during this last attempt, you ran the |
Well, I tried
|
Wow, how frustrating. Thank you for continuing to try. The only other thing I can think of is that the username you entered is @law-liet -- Perhaps we can try to do a screenshare at some point this or week and go through the process step by step together? My email is [email protected] if you would like to get in touch and try to get this working off-thread. Thanks again for being so patient. |
Make sure to update to latest version of node 0.12... then do: npm uninstall -g famous-cli @thealphanerd did edit |
you should not have to use sudo when installing the CLI @sebringj you should be careful about giving advice to people that involves sudo. While it might seem to "fix" the problem it actually compiles on even more. One should never be using sudo with npm. Security concerns aside it will start plopping root owned folders in your npm cache and make it impossible for you to npm install anything with sudo. |
I have tried to scaffold a project and NPM dev start multiple times but I keep getting the same errors.
Any help would be greatly appreciated because I am very excite to try this out. |
This is a super odd one. How have you installed node? |
Through Brew |
Do you think that might be the issue? Sorry for the double post. Hit enter too quickly. |
can you try installing with nvm and see if that makes things play better? https://github.com/creationix/nvm If nvm doesn't seem to work at first make sure it is being run in your bash profile. If it isn't you can add this snippet export NVM_DIR="~/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion |
I will do that and report back. |
I went through and used NVM as you suggested for the stable build and it installed the CLI without issue, but when I run npm run dev I get the following
|
have you run |
At what point do I do that because it isn't in the readme, |
that should have happened when you scaffolded... it appears that things exploded earlier when making this project. npm install is a standard for any project using npm as a package manager, although we wrap this in our cli. You may want to try making a brand new project |
kk will do. |
Ok I had to change the directory structure completely and it finally worked. I am not sure why it would cause issues, but the good news is I finally have the server running. |
you had to change the directory structure from the generated project?
That is not good!
|
No sorry to be confusing. I just had to make sure I didn't reuse a directory name that was previously used when NPM was installed via Brew. Once I changed the name it worked. |
I am using a OS X 10.10. I followed the steps in README, but it did not work. Nothing shows up in the browser. Here's the info after running
npm run dev
.The text was updated successfully, but these errors were encountered: