You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to npm install && npm test, but there were an errors.
One of them looks to be because of requires like require('Engine') even though Engine isn't on the default node path (inside node_modules). Running NODE_PATH=src npm test gets farther but still errors.
I tried to run ./examples/{chat,counter}/server.js and access http://localhost:3000, but neither works.
What am I missing? @harmony7 how do I run tests or examples from a fresh clone?
The text was updated successfully, but these errors were encountered:
LiveResource wasn't written in TDD style, so unit tests were going to be added later.
The test code in ver0.1 (currently master branch) was very experimental and we never really had working tests. That experimental test code has been removed for ver0.2 (develop), so we don't have tests in that version either.
For either version, the JavaScript must be compiled into an output file.
For ver0.1 (master branch) do
npm install
npm run build-debug
cd examples/chat # or counter
npm install
npm start
For ver0.2 (develop branch) do this:
npm install
npm run build
cd examples/chat # or counter
npm install
npm start
I was able to get these to work right now on my local, please let me know if you have any problems with these.
I tried to
npm install && npm test
, but there were an errors.One of them looks to be because of requires like
require('Engine')
even though Engine isn't on the default node path (inside node_modules). RunningNODE_PATH=src npm test
gets farther but still errors.I tried to run ./examples/{chat,counter}/server.js and access http://localhost:3000, but neither works.
What am I missing?
@harmony7 how do I run tests or examples from a fresh clone?
The text was updated successfully, but these errors were encountered: