Project initialization error: "Unable to find rush.json configuration file"
javiertoledo opened this issue · comments
Javier Toledo commented
Bug Report
Initially reported in Discord by user hannahbrooks
: https://discord.com/channels/763753198388510780/1044661622393819216/1047311041794674748
Current Behavior
When creating a new project:
hannahbrooks@Hannahs-MacBook-Pro ~ % boost version
@boostercloud/cli/1.3.2 darwin-x64 node-v16.14.0
hannahbrooks@Hannahs-MacBook-Pro ~ % boost new:project boosted-blog
? What's your project description? (default: "")
? What's the first version? (default: 0.1.0)
? Who's the author? (default: "")
? What's the website? (default: "")
? What license will you be publishing this under? (default: MIT)
? What's the URL of the repository? (default: "")
? What's the package name of your provider infrastructure library? @boostercloud/framework-provider-aws (AWS)
ℹ boost new 🚧
✔ Creating project root
✔ Generating config files
✖ Installing dependencies
Error: Error: Could not install dependencies
{"reason":{"name":"ChildProcessError","code":1,"childProcess":{},"stdout":"\n\u001b[1mRush Multi-Project Build Tool 5.85.1\u001b[33m (unmanaged)\u001b[39m\u001b[22m\u001b[36m - https://rushjs.io\u001b[39m\nNode.js version is 16.14.0 (LTS)\n\n","stderr":"\n\u001b[31mERROR: Unable to find rush.json configuration file\u001b[39m\n"},"_tag":"ProcessError"}
at /Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/dist/common/errors.js:17:68
at /Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Effect/orDieWith.js:33:56
at Object.fold_ (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Either/core.js:417:23)
at HandlerFrame.apply (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Effect/foldM.js:33:52)
at FiberContext.nextInstr (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Fiber/context.js:391:16)
at FiberContext.evaluateNow (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Fiber/context.js:870:40)
at /Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Fiber/context.js:558:47
at /Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@effect-ts/system/Support/Scheduler/index.js:20:22
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Script.done (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/dist/common/script.js:87:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Project.run (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/dist/commands/new/project.js:21:13)
at async Project._run (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Config.runCommand (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@oclif/command/lib/main.js:28:9)
at async Main._run (/Users/hannahbrooks/.nvm/versions/node/v16.14.0/lib/node_modules/@boostercloud/cli/node_modules/@oclif/command/lib/command.js:43:20)
Environment
- Booster version: [e.g. 1.3.2]
- Node/npm version:
- OS: