Skip to content

Failed to build the Moddable Wasm tools #1615

@stc1988

Description

@stc1988

Build environment: macOS
Moddable SDK version: 8.1.1
Target device: Wasm

Description
A brief summary of the problem

Steps to Reproduce

  1. cd ${MODDABLE}/build/makefiles/wasm && make
make -f tools.mk
tools.mk:174: *** commands commence before first target.  Stop.
make: *** [debug] Error 2

This is caused by a missing backslash.

After making this fix, another issue occurred.

# tools debug : xsid commodettoReadPNG.c
# tools debug : xsid cfeBMF.c
# tools debug : xsid image2cs.c
# tools debug : xsid miniz.c
# tools debug : xsid modInstrumentation.c
# tools debug : xsid tool.c
# tools debug : xsc mcrun.js
# tools debug : xsl modules
ReferenceError: module "url" not found
### ReferenceError: module "url" not found!
make[1]: *** [/Users/satoshi/Projects/moddable/build/tmp/wasm/debug/tools/mc.xs.c] Error 22
make: *** [debug] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions