Skip to content

Error in "progress" example #95

Description

@AnthonyKNorman

Creates error when uploading to ESP8266

# Break: require: module "commodetto/parseRLE" not found!
C:\Users\antho\moddable\examples\commodetto\progress\main.js (34) # Break: C:\Users\antho\moddable\examples\commodetto\progress\main.js: get parseRLE: undefined variable!

Fix:
change line 21 from

import parseRLE from "commodetto/parseRLE";

to

import ParseRLE from "commodetto/ParseRLE";

and line 34 from

let spinner = parseRLE(new Resource("spinner-strip-80px-24cell-blue-alpha.bm4"));

to

let spinner = ParseRLE(new Resource("spinner-strip-80px-24cell-blue-alpha.bm4"));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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