Skip to content

Node JS elements missing and Mock UI env.js path incorrect #28

@leejsinclair

Description

@leejsinclair

Problem

Incorrect instructions

Instructions in the readme.md file include steps to run the node.js data-holder application. However these instructions do not work.

cd project-name
npm run build

The result of which is:

npm error code ENOENT
npm error syscall open
npm error path .../mock-data-holder-nodejs/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '.../mock-data-holder-nodejs/package.json'
npm error enoent This is related to npm not being able to find a file.

Potential solution

I'm not entirely sure what this repo is supposed to provide, I feel like it's just mocking the data-holder APIs (not the GUI) if this is the case then the instructions could be:

# Requires node v18-20
cd project-name/test-data-server/
npm ci
npm build
npm run build
npm start

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