epicweb-dev / epicweb-dev/epic-stack
Getting started `npx epiccli new <project-name>` command fails
- 主要言語
- TypeScript
- スター
- 5.5k
- フォーク
- 460
- 平均マージ
- 2時間 43分
- マージ済み PR(30日)
- 1
説明
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
}
```
コントリビューションガイド
調査の方向性
まず、`package.json` に記載された Node のバージョンで、正確な `npx epicli new bmt-epic-1` コマンドを再現して実行し、次に `create-remix@2.16.8` を呼び出す `new` コマンドを調べます。依存関係のインストールが有用な stderr を出さずに終了する理由を特定してください。完了条件は、そのコマンドでプロジェクトが作成され、依存関係が正常にインストールされることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- node.js
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100