epicweb-dev / epicweb-dev/epic-stack
Getting started `npx epiccli new <project-name>` command fails
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 461
- Avg merge
- 2h 43m
- Merged PRs (30d)
- 1
Description
Looking to kick off a new epic stack project and getting stuck at the start.
I made sure to set the node version to that spec'd in the "engines" of the package.json
```txt
projects nv
v22.18.0
projects npx epicli new bmt-epic-1
remix v2.16.8 💿 Let's build a better website...
◼ Directory: Using bmt-epic-1 as project directory
◼ Template: Using epicweb-dev/epic-stack...
✔ Template copied
██████ Dependencies installing with npm...
▲ Oh no! Failed to install dependencies.
❌ Error: Error: Command failed: npx --yes create-remix@2.16.8 --install --no-git-init --init-script --template epicweb-dev/epic-stack bmt-epic-1
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:915:11)
at execSync (node:child_process:987:15)
at newProject (file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/epicli/dist/commands/new.js:6:9)
at Object.handler (file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/epicli/dist/bin/epicli.js:63:24)
at file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/yargs/build/lib/command.js:206:54
at maybeAsyncResult (file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
at CommandInstance.handleValidationAndGetResult (file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/yargs/build/lib/command.js:205:25)
at CommandInstance.applyMiddlewareAndGetResult (file:///Users/briancilenti/.npm/_npx/35d972753c69f246/node_modules/yargs/build/lib/command.js:245:20) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 17671,
stdout: null,
stderr: null
}
```
Contributor guide
Research direction
Start by reproducing the exact `npx epicli new bmt-epic-1` command with the Node version from `package.json`, then inspect the `new` command that invokes `create-remix@2.16.8`. Determine why dependency installation exits without useful stderr; done means the command creates the project and installs its dependencies successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100