Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

pnpm requires peer of typescript

Aperta
#8 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js, typescript
Ambito
cli, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

$ 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/[email protected]/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

> [email protected] 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\@[email protected][email protected][email protected]\node_modules\@remotion\cli\dist\load-config.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@[email protected][email protected][email protected]\node_modules\@remotion\cli\dist\get-config-file-name.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@[email protected][email protected][email protected]\node_modules\@remotion\cli\dist\preview.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@[email protected][email protected][email protected]\node_modules\@remotion\cli\dist\index.js
- D:\doc\prog\synker\remotion\template-helloworld-javascript\node_modules\.pnpm\@[email protected][email protected][email protected]\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\@[email protected][email protected][email protected]\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\\@[email protected][email protected][email protected]\\node_modules\\@remotion\\cli\\dist\\load-config.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@[email protected][email protected][email protected]\\node_modules\\@remotion\\cli\\dist\\get-config-file-name.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@[email protected][email protected][email protected]\\node_modules\\@remotion\\cli\\dist\\preview.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@[email protected][email protected][email protected]\\node_modules\\@remotion\\cli\\dist\\index.js',
    'D:\\doc\\prog\\synker\\remotion\\template-helloworld-javascript\\node_modules\\.pnpm\\@[email protected][email protected][email protected]\\node_modules\\@remotion\\cli\\remotion-cli.js'
  ]
}
 ELIFECYCLE  Command failed with exit code 1.
Lingua principale
JavaScript
Stelle
15
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.