Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Diagram Community Logo
  1. Home
  2. GoJS
  3. GoJS Course
  4. Lesson 0 Feedback - Training Setup Not Documented

Lesson 0 Feedback - Training Setup Not Documented

Scheduled Pinned Locked Moved GoJS Course
1 Posts 1 Posters 10 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brian9888
    wrote last edited by brian9888
    #1

    I'm trying to follow:
    https://github.com/DataVisHub/gojs-course/blob/main/lessons/lesson-0-project-setup-and-intro.md
    When trying to execute:

    npm start run
    

    I get the error shown below:

    C:\rw_apps\dev-junk\gj1>npm start run
    > family-tree-builder@1.0.0 start
    > vite "run"
    'vite' is not recognized as an internal or external command,
    operable program or batch file.
    C:\rw_apps\dev-junk\gj1>
    

    I think I resolved the problem by running

    npm install vite
    

    Also the version of npm / node / vite /etc. are not documented.
    I tried to use:

    C:\rw_apps\dev-junk\gj1>npm -version
    8.8.0
    C:\rw_apps\dev-junk\gj1>node -v
    v18.18.2
    

    but when the VITE app is running, I get HTTP 404 errors

      VITE v6.3.5  ready in 403 ms
    
      ➜  Local:   http://localhost:5173/
      ➜  Network: use --host to expose
      ➜  press h + enter to show help
    

    Firefox Developer Tools response documented is:

    http://localhost:5173/ sent back an error.
    Error code: 404 Not Found
    {
    	"responseHeaders": {
    		"headers": [
    			{
    				"name": "Connection",
    				"value": "keep-alive"
    			},
    			{
    				"name": "Content-Length",
    				"value": "0"
    			},
    			{
    				"name": "Date",
    				"value": "Tue, 27 May 2025 15:57:03 GMT"
    			},
    			{
    				"name": "Keep-Alive",
    				"value": "timeout=5"
    			},
    			{
    				"name": "Vary",
    				"value": "Origin"
    			}
    		]
    	}
    }
    
    1 Reply Last reply
    0

    • Login

    • Don't have an account? Register

    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups