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

Not running in local server with Windows 7 OS #11

Open
con-jr opened this issue Jun 11, 2015 · 2 comments
Open

Not running in local server with Windows 7 OS #11

con-jr opened this issue Jun 11, 2015 · 2 comments

Comments

@con-jr
Copy link

con-jr commented Jun 11, 2015

Unable to run/access the app in my local server.

I followed the instructions carefully. I have NPM 2.11.1 installed on my system. I cannot provide an error message, because there's none in the cli.

Kindly note that I can run a simple Hello World and the spinner demo in my localhost:1618
, but for some reasons, this seed project is not working for me. Thank you.

running famous twitter starter kit on windows 7

@con-jr
Copy link
Author

con-jr commented Jun 11, 2015

Updates:

I can now run the local server, but i did changes on files.

What I did is to copy the bin/dev.js file and the node_modules from a different project.

These files are generated after you created a project using $ famous create [name-of-project] in the CLI. The next thing I did was to edit the dev.js and the package.json.

package.json line 11

change this line "dev": "npm run watch & serve public/ -p 1618",
to "dev": "node ./bin/dev.js",

dev.js line 14

change this line var b = browserify(path.resolve('./src/index.js'), watchify.args);
to var b = browserify(path.resolve('./src/twitterus/index.js'), watchify.args);

Thanks.

@alexpmorris
Copy link

If you are having trouble getting famous up and running on Windows, I wrote up how I finally got it working here: Famous/engine#184

To get the twitterus demo working properly, I found the easiest way to do it successfully was as follows:

It seems the version downloaded via "famous fork twitterus-tutorial" is broken. To get it working properly, download and unpack this file:

https://github.com/Famous/lesson-twitterus-starter-kit/archive/step-7.zip

Then add "start" to line 11 of package.json, so it should read:

"dev": "start npm run watch & serve public/ -p 1618"

Now run "famous dev" and go to your browser and it should work!

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