Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running build after bootstrap #2

Open
seflless opened this issue Nov 14, 2022 · 1 comment
Open

Error when running build after bootstrap #2

seflless opened this issue Nov 14, 2022 · 1 comment

Comments

@seflless
Copy link

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

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?

@qiweicao
Copy link

Before install & build, you should make to build libav.wasm.
And then you will get the entire packages, which have the folder '/dist' in 'packages/libav' and 'packages/libav-core'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants