ffmpegwasm / ffmpegwasm/libav.wasm

Error when running build after bootstrap

Đang mở
#2 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
44
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.