Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Tutorial 'npm install foam-framework' out of sync #5129

@mingodad

Description

@mingodad

I'm trying to follow the tutorial at http://foam-framework.github.io/foam/tutorial/todo/0-intro/ and did both git clone and npm install foam-framework and started with the npm by making a symlink but then when I tried to load the first model at http://localhost:8000/foam/index.html?model_=foam.browser.u2.BrowserController&model=com.todo.model.Todo&classpath=../js/ I've got this message:

Unable to load model: foam.browser.u2.BrowserController

Doing a diff between the npm package and the git cloned foam I noticed that then npm package uses model_ for property types but the git clone uses type like the tutorial, so I switched to the git clone and now I've got the expected output of the first Todo model.

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