Skip to content

Error in cfeNFNT example #94

Description

@AnthonyKNorman

Uploading cfeNFNT to ESP8266 gives error
C:\Users\antho\moddable\modules\files\resource\Resource.c (43) # Break: Resource: Resource not found: sanfrancisco.dat!
in debugger

Changing manifest.json from

{
	"include": [
		"$(MODDABLE)/examples/manifest_base.json",
		"$(MODDABLE)/examples/manifest_commodetto.json",
	],
	"modules": {
		"~": "$(COMMODETTO)/cfeBMF",
		"commodetto/parseNFNT": "$(COMMODETTO)/commodettoParseNFNT",
		"*": [
			"./main",
			"$(COMMODETTO)/cfeNFNT",
		]
	},
	"resources": {
		"*": [
			"./assets/chicago12",
		]
	},
}

to

{
	"include": [
		"$(MODDABLE)/examples/manifest_base.json",
		"$(MODDABLE)/examples/manifest_commodetto.json",
	],
	"modules": {
		"~": "$(COMMODETTO)/cfeBMF",
		"commodetto/parseNFNT": "$(COMMODETTO)/commodettoParseNFNT",
		"*": [
			"./main",
			"$(COMMODETTO)/cfeNFNT",
		]
	},
	"resources": {
		"*": [
			"./assets/chicago12",
			"./assets/sanfrancisco",
		]
	},
}

fixes the problem.

I am quite new to this.
Is this right?

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