Skip to content

The srcipt from README.md doesn't allow to build the project #57

@NikitaMatckevich

Description

@NikitaMatckevich

README.md instruction yarn --cwd atoti-query-analyzer start does not work. The folder is called atoti-query-analyser with 's' instead of 'z' in 'analyser'. Also, when I tried to run:

$ yarn
$ yarn --cwd atoti-query-analyser start

The first yarn command returned immediately and on start I got the error:

yarn run v1.22.19
$ react-scripts start
/bin/sh: 1: react-scripts: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The issue seems to be related to node_modules that cannot be correctly created by yarn in the folder atoti-query-analyser. I also tried

$ yarn --cwd atoti-query-analyser
$ yarn --cwd atoti-query-analyser start

But yarn --cwd atoti-query-analyser falls with an error:

yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^14 || ^16 || ^17 || ^18 || ^19". Got "20.5.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command

The only way to build the project that worked for me was to go to atoti-query-analyser folder and run npm install. Then yarn --cwd atoti-query-analyser start works.

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