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

Getting started - Errors when running npm commands #6

Closed
atenpas opened this issue May 10, 2017 · 1 comment
Closed

Getting started - Errors when running npm commands #6

atenpas opened this issue May 10, 2017 · 1 comment

Comments

@atenpas
Copy link

atenpas commented May 10, 2017

When I run npm start, I get this:

caffejs@0.1.0 start /home/andreas/software/caffejs
cd docs-pages && http-server

sh: 1: cd: can't cd to docs-pages

And when I run npm install, I get this:

typings install

typings WARN deprecated 5/9/2016: "registry:dt/dagre#0.7.0+20160505164908" is deprecated (updated, replaced or removed)
typings WARN deprecated 9/6/2016: "registry:dt/d3#0.0.0+20160620220125" is deprecated (updated, replaced or removed)
typings WARN deprecated 10/4/2016: "registry:dt/whatwg-fetch#0.0.0+20160524142046" is deprecated (updated, replaced or removed)

@chaosmail
Copy link
Owner

chaosmail commented May 10, 2017

Hi @atenpas

right now it's a bit weird to get started, you have to compile the docs running gulp docs. This requires to have gulp and typescript installed (npm install -g gulp-cli typescript typings). Now npm install and npm start should work.

Another great option to play around with CaffeJS is to just checkout the gh-pages branch (the one that is hostet here https://chaosmail.github.io/caffejs/) via git checkout gh-pages. Now you should be able to spin up a local webserver via http-server (once it is installed via npm install -g http-server).

Hope this helps you!

Best,
Christoph

@atenpas atenpas closed this as completed May 11, 2017
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