Skip to content

Command not found: rel #47

@danstarns

Description

@danstarns

Following the quickstart, go thru the CLI and set up the project.

➜  mkdir rel-playground
➜  cd rel-playground
➜  rel-playground npm init --y
Wrote to /Users/danielstarns/code/rel-playground/package.json:

{
  "name": "rel-playground",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}


➜  rel-playground npx rel-cmd@latest init

Need to install the following packages:
  rel-cmd@latest
Ok to proceed? (y) y

  ___     _
 | _ \___| |
 |   / -_) |
 |_|_\___|_| Installer

 Rel is the zero-config backend framework for Javascripters.

? What's the name of your project? api

✔ Rel packages installed

? Base directory for Rel project? .


Success! Created reljs at directory /Users/danielstarns/code/rel-playground/api
Next steps:

1. Run rel dev and visit https://localhost:4000
2. Edit ./schema.graphql to update your schema.
3. Read more documentation at https://rel.run/docs

The following files are generated:

➜  rel-playground ls
api          package.json
➜  rel-playground ls api
node_modules      package.json      schema.graphql
package-lock.json rel.config.json
➜  rel-playground

Then when I run rel dev I get an error stating:

zsh: command not found: rel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions