Skip to content

Build web app in Ubuntu #558

@LSarribouette

Description

@LSarribouette

Hi all,

I am new to SDEverywhere and I am having trouble initialising everything. For now, the 'sir' example doesn't run properly.

I cloned the repository. I copied-pasted the sir folder outside of the repo.

I ran the command npm create @sdeverywhere@latest in the new folder and kept default answers.

After successful setup, I ran the command npm run dev and I got the error: Error: More than one string with key=graph_001_title.

Would you have an idea on how to fix this error?

Full error:

> project@1.0.0 dev
> sde dev

Generating files...
graph_001_title
Error: More than one string with key=graph_001_title
    at Strings.add (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:56:17)
    at graphSpecFromCsv (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:431:28)
    at generateGraphSpecs (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:394:18)
    at generateConfigSpecs (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:775:22)
    at processModelConfig (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:855:23)
    at Object.modelSpec (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/plugin-config/dist/index.js:820:12)
    at buildOnce (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/build/dist/index.js:683:44)
    at build (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/build/dist/index.js:903:33)
    at async dev (file:///home/lauranne/dev/sde-examples/sir/node_modules/@sdeverywhere/cli/src/sde-dev.js:33:18)

I am on Ubuntu: '24.04.1 LTS' with npm: '9.2.0' and node: '18.19.1'.

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