ian / rel

Rel is a Graph Database BaaS, built on Redis.
MIT License
13 stars 2 forks source link

Command not found: rel #47

Open danstarns opened 2 years ago

danstarns commented 2 years ago

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
danstarns commented 2 years ago

My specs:

➜  rel-playground npx thispc
Need to install the following packages:
  thispc
Ok to proceed? (y) y
Terminal size: 80x25

 User Information
┌────────────────┬───────────────────────────────┐
│    (index)     │            Values             │
├────────────────┼───────────────────────────────┤
│    Username    │        'danielstarns'         │
│    Hostname    │ 'Daniels-MacBook-Pro-3.local' │
│ Home Directory │     '/Users/danielstarns'     │
│    Timezone    │       'Atlantic/Canary'       │
│   Timestamp    │  '2022-06-05T18:43:27+01:00'  │
└────────────────┴───────────────────────────────┘
 System Specification
┌───────────────┬────────────────┐
│    (index)    │     Values     │
├───────────────┼────────────────┤
│ Total Memory  │   '32.00 GB'   │
│  Total Cpus   │       10       │
│   Cpu Model   │ 'Apple M1 Max' │
│   Cpu Speed   │   '0.02 GHz'   │
│ System Uptime │    '2.1 d'     │
└───────────────┴────────────────┘
 System Information
┌──────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│     (index)      │                                                  Values                                                  │
├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Operating System │ 'Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000' │
│     Platform     │                                                 'darwin'                                                 │
│       Type       │                                                 'Darwin'                                                 │
│   Architecture   │                                                 'arm64'                                                  │
│  Temp Directory  │                            '/var/folders/wx/cd_m3jmn74s2nd30r6900dfw0000gn/T'                            │
└──────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
darwin
 GPU Information