pnpm requires peer of typescript

オープン
#8 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js, typescript
領域
cli, tooling

調査の方向性

Start by running pnpm i and pnpm start in the template project to reproduce the missing typescript error shown from the Remotion CLI. Trace the project's dependency configuration and verify that the preview command starts without the MODULE_NOT_FOUND failure.

索引モデルが issue の本文から書いたものです。

説明

$ pnpm i
Packages: +475
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: D:\.pnpm-store\v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 492, reused 467, downloaded 8, added 475, done
node_modules/.pnpm/esbuild@0.14.11/node_modules/esbuild: Running postinstall script, done in 154ms

dependencies:
+ @remotion/bundler 2.6.4
+ @remotion/cli 2.6.4
+ @remotion/eslint-config 2.6.4
+ @remotion/renderer 2.6.4
+ eslint 7.32.0 (8.7.0 is available)
+ express 4.17.2
+ prettier 2.5.1
+ react 17.0.2
+ react-dom 17.0.2
+ remotion 2.6.4

 WARN  Issues with peer dependencies found
.
└─┬ @remotion/eslint-config
  ├─┬ @typescript-eslint/eslint-plugin
  │ ├── ✕ missing peer typescript@"*"
  │ └─┬ @typescript-eslint/experimental-utils
  │   └─┬ @typescript-eslint/typescript-estree
  │     ├── ✕ missing peer typescript@"*"
  │     └─┬ tsutils
  │       └── ✕ missing peer typescript@">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
  └─┬ @typescript-eslint/parser
    └── ✕ missing peer typescript@"*"
Peer dependencies that should be installed:
  typescript@>=2.8.0

/d/doc/prog/synker/remotion/template-helloworld-javascript (main)
$ pnpm start

> remotion-template-javascript@1.0.0 start D:\doc\prog\synker\remotion\template-helloworld-javascript
> remotion preview src/index.jsx

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'typescript'
Require stack:
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\dist\load-config.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\dist\get-config-file-name.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\dist\preview.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\dist\index.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\remotion-cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\node_modules\@remotion\cli\dist\load-config.js:9:38)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\\node_modules\\@remotion\\cli\\dist\\load-config.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\\node_modules\\@remotion\\cli\\dist\\get-config-file-name.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\\node_modules\\@remotion\\cli\\dist\\preview.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\\node_modules\\@remotion\\cli\\dist\\index.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@remotion+cli@2.6.4_react-dom@17.0.2+react@17.0.2\\node_modules\\@remotion\\cli\\remotion-cli.js'
  ]
}
 ELIFECYCLE  Command failed with exit code 1.
主要言語
JavaScript
スター
15
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

remotion-dev/template-helloworld-javascript のほかの issue

remotion-dev/template-helloworld-javascript の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。