OpenJSCAD.org icon indicating copy to clipboard operation
OpenJSCAD.org copied to clipboard

Tutorial from 2019.05.19 does not work with latest version of V2

Open serapath opened this issue 5 years ago • 2 comments

Expected Behavior

see video https://www.youtube.com/watch?v=h3_6K6MYTFc

when i drag the tutorial folder onto the page it should load the model and stay in sync

Actual Behavior

I tried to follow the tutorial, but when I either click Load a JSCAD project or when I drag'n'drop the Tutorial 0 folder onto the page, I get an Error message:

ERROR:
Uncaught Error: No file @jscad/csg/api found
Line: 814

Steps to Reproduce the Problem

  1. git clone https://github.com/jscad/OpenJSCAD.org.git
  2. cd OpenJSCAD.org
  3. git checkout -b V2 origin/V2
  4. npm install
  5. npm run web
  6. Open my browser and go to http://192.168.1.6:8081/ (which is what the terminal told me as the IP/PORT

Specifications

  • Version: latest
  • Platform: Linux Mint
  • Environment: (browser, local server, node.js etc): Google Chrome

serapath avatar Apr 15 '20 21:04 serapath

If i check out the version that was the most recent back then, it works. git checkout 5db295d

serapath avatar Apr 15 '20 21:04 serapath

Yup. Those tutorials were written with V1. I’m sure @kaosat-dev will update those but it will not be soon.

z3dev avatar Apr 15 '20 22:04 z3dev