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 - Starting Folder Not Explained

Lesson 0 Feedback - Starting Folder Not Explained

Scheduled Pinned Locked Moved GoJS Course
2 Posts 2 Posters 131 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

    Following https://github.com/DataVisHub/gojs-course/blob/main/lessons/lesson-0-project-setup-and-intro.md
    It is not explained that I need to download the files from https://github.com/DataVisHub/gojs-course/ and execute

    npm run start
    

    from the top level folder so that the package.json file is present.
    Otherwise, the failure occurs:

    c:\>npm run start
    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path C:\package.json
    npm ERR! errno -4058
    npm ERR! enoent ENOENT: no such file or directory, open 'C:\package.json'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    
    1 Reply Last reply
    0
    • piotr.blaszczykP Offline
      piotr.blaszczykP Offline
      piotr.blaszczyk
      wrote last edited by
      #2

      Thanks for pointing that out!

      We’ve just updated the lesson to make it explicit that you need to clone (or download) the entire repo, and change directory into its top‑level folder (where package.json lives).

      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