remotion-dev / remotion-dev/template-helloworld-javascript

pnpm requires peer of typescript

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
15
Forks
7
PR merge metrics
No merged PRs in 30d

Description

$ 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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.