Skip to content

Issue with command "coderoad build" #108

Open

Description

@AmeliaYe

Describe the bug
When calling coderoad build, this error occurs

To Reproduce

Steps to reproduce the behavior:

  1. follow the tutorial to -practice-tutorial#build-the-configjson-file

  2. After npm install -g @coderoad/cli, I have
    Screenshot 2024-08-21 at 3 58 24 PM

  3. turn on all permission:
    Screenshot 2024-08-21 at 3 59 37 PM

  4. sudo npm install -g @coderoad/cli, got
    Screenshot 2024-08-21 at 4 00 15 PM

  5. followed the two suggested command and got
    Screenshot 2024-08-21 at 4 01 56 PM

Expected behavior
No errors, it will have created a tutorial.json file

Screenshots
Screenshot 2024-08-20 at 9 10 34 AM

Desktop (please complete the following information):

  • Platfrom: Linux
  • OS: Ubuntu
  • Version Ubuntu 22.04

Node (please complete the following information):

  • v12.22.9

Git (please complete the following information):

  • 2.34.1

Additional context
No

Activity

  1. jcandan commented on Jan 26, 2025

    @jcandan

    I would venture to guess that NPM 12 is unsupported by this project.

    I too am following the tutorial. I used NVM to install the the latest 23.6.1, for which I was able to successfully install the package:

    $ npm install -g @coderoad/cli
    
    added 23 packages in 3s
    
    2 packages are looking for funding
      run `npm fund` for details
    

    Please upgrade to at least Node 18, and try again.

  2. jcandan commented on Jan 26, 2025

    @jcandan

    Note: I did find that version 18 and 20 are supported, while 22+ are not. See #109 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions