command seems to be missing

https://rivet.gg/learn/html5/tutorials/tanks-canvas-socketio#step-1-setup-project the 2nd command in the chain here doesn't work when I run it on vscode
git clone -b pre-rivet https://github.com/rivet-gg/examples
cd javascript/tanks-socketio-canvas
npm run start
git clone -b pre-rivet https://github.com/rivet-gg/examples
cd javascript/tanks-socketio-canvas
npm run start
it does however, work if you run cd examples first
3 Replies
AngelOnFira
AngelOnFira2y ago
Hmm, what output do you get in vs code? Can you post a screenshot? I'm betting it should instead be cd examples/javascript/tanks-socketio-canvas
Nathan
Nathan2y ago
@AngelOnFira should be:
git clone -b pre-rivet https://github.com/rivet-gg/examples
cd examples/javascript/tanks-socketio-canvas
npm run start
git clone -b pre-rivet https://github.com/rivet-gg/examples
cd examples/javascript/tanks-socketio-canvas
npm run start
Linear
Linear2y ago
Issue WEB-151 created.
WEB-151 - Fix cd in tanks tutorial
Status
Triage
Assignee
Forest Anderson
Website

Did you find this page helpful?