Skip to content

Issue setting up the CLI. #507

Description

@TheGuyWhoIsIdiot

i am bad at describing it but here is the output i got:

H:\MYGAME>npx nevermore init
Creating a new game at 'H:\MYGAME' with template 'C:\Users\Ratsarecool\AppData\Roaming\npm\node_modules\@quenty\nevermore-cli\templates\game-template'
File already exists H:\MYGAME\.editorconfig will not overwrite
File already exists H:\MYGAME\.github\workflows\build.yml will not overwrite
File already exists H:\MYGAME\aftman.toml will not overwrite
File already exists H:\MYGAME\default.project.json will not overwrite
File already exists H:\MYGAME\.gitignore will not overwrite
File already exists H:\MYGAME\package.json will not overwrite
File already exists H:\MYGAME\README.md will not overwrite
File already exists H:\MYGAME\selene.toml will not overwrite
File already exists H:\MYGAME\src\modules\Client\MYGAMEServiceClient.lua will not overwrite
File already exists H:\MYGAME\src\modules\Server\MYGAMEService.lua will not overwrite
File already exists H:\MYGAME\src\modules\Shared\MYGAMETranslator.lua will not overwrite
File already exists H:\MYGAME\src\scripts\Client\ClientMain.client.lua will not overwrite
File already exists H:\MYGAME\src\scripts\Server\ServerMain.server.lua will not overwrite
File already exists H:\MYGAME\mygame.sublime-project will not overwrite
Running `npm install @quenty/loader @quenty/servicebag @quenty/binder @quenty/clienttranslator @quenty/cmdrservice`
node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module 'C:\Users\User\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.11.1
nevermore init [game-name]

Initializes a new game template.

Positionals:
  game-name  Name of the new package folder.  [string]

Options:
  --help     Show help  [boolean]
  --version  Show version number  [boolean]
  --yes      True if this run should not prompt the user in any way  [boolean] [default: false]
  --dryrun   True if this run is a dryrun and shouldn't affect the file system  [boolean] [default: false]

Error: Command failed with exit code 1: npm install @quenty/loader @quenty/servicebag @quenty/binder @quenty/clienttranslator @quenty/cmdrservice
node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module 'C:\Users\User\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions