ffmpegwasm / ffmpegwasm/libav.wasm

Error when running build after bootstrap

未關閉
#2 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
44
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,

I'm getting the following error. I just cloned and following the instructions.

## Repro Steps
1. Do a fresh git clone
2. `cd libav.wasm`
3. Run `npx lerna run bootstrap` (Finishes successfully)
4. Run `npx lerna run build`
5. Result: See error below

## Error
```bash
francoislaberge@Francoiss-MBP libav.wasm % npx lerna run build
lerna notice cli v6.0.3

> @ffmpeg/libav:build

> @ffmpeg/libav@0.0.1-alpha.0 build
> rimraf dist && tsc
src/libav.ts(1,30): error TS2307: Cannot find module 'ffmpeg__libav-core' or its corresponding type declarations.
npm ERR! Lifecycle script `build` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @ffmpeg/libav@0.0.1-alpha.0
npm ERR! at location: /Users/francoislaberge/dev/libav.wasm/packages/libav

—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

> Lerna (powered by Nx) Ran target build for project @ffmpeg/libav (872ms)

✖ 1/1 failed
✔ 0/1 succeeded [0 read from cache]

```

## My environment:
```
macOS Monterey, Version 12.3
Macbook Pro M1 Pro

Docker Version: 4.14.0 (91374)
Docker Engine: 20.10.21
Docker Compose: v2.12.2
Docker Credential Helper: v0.7.0
Docker Kubernetes: v1.25.2
Docker Snyk: v1.1025.0
```

Any idea what I'm doing wrong?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。