muze-nl / jaqt

GraphQL-style Array.select() and Array.where() for javascript
MIT License
231 stars 9 forks source link

Cannot run repl on macOS #5

Closed Hoxolotl closed 2 months ago

Hoxolotl commented 2 months ago

After cloning the repository and doing an npm update:

doing node run repl doesn't work:

node run repl
node:internal/modules/cjs/loader:1145
  throw err;
  ^

Error: Cannot find module '/Volumes/T7/USB_Projects/jaqt-github/jaqt/run'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
    at Module._load (node:internal/modules/cjs/loader:983:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v21.7.2
Hoxolotl commented 2 months ago

Used node, should have been npm, it works.