Quenty / NevermoreEngine

ModuleScript loader with reusable and easy unified server-client modules for faster game development on Roblox
https://quenty.github.io/NevermoreEngine/
MIT License
421 stars 125 forks source link

Issue setting up the CLI. #507

Open TheGuyWhoIsIdiot opened 1 month ago

TheGuyWhoIsIdiot commented 1 month ago

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: []
}