Skip to content

Error when running build after bootstrap #2

@seflless

Description

@seflless

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions