Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

mjs lib

I created a lib in mjs that I want to attach on another projects. Lib itself works but when I try to use it from another project I get that:

Falling back to sources for "mongoose-string-utils" (failed to fetch prebuilt binary: got 404 status code when accessed https://github.com/tkopacki/mongoose-string-utils/releases/download/2.1/libmongoose-string-utils-exp8266.a)
Prepared local dir: "/fwbuild-volumes/2.1/apps/test/exp8266/build_contexts/build_ctx_671333795/libs/mongoose-string-utils"
Lib "mjs" is already handled, skipping
The flag --module is not given for the module "mjs_module", going to use the repository
Repository "/fwbuild-volumes/2.1/apps/test/exp8266/build_contexts/build_ctx_671333795/modules/mjs_module" does not exist, cloning...

The flag --repo is not given, going to use mongoose-os repository
Error: neither sources nor prebuilt binary exists for the lib "mongoose" (or, if a library doesn't have any code by design, its mos.yml shouldn't contain "sources")
Error: build failed

Lib is available under this url: https://github.com/tkopacki/mongoose-string-utils
this is how I tried to use is from the second project:

libs:
- origin: https://github.com/mongoose-os-libs/rpc-service-gpio
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-service-fs
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/wifi
- origin: https://github.com/mongoose-os-libs/mjs
- origin: https://github.com/tkopacki/mongoose-string-utils

what am I missing here ?

Comments

Sign In or Register to comment.