Skip to content

Fails to create app due to peer dependency issue #44

@AdamStone

Description

@AdamStone

When I try to run this it creates a folder with a package.json inside but nothing else, and outputs the following:

npm ERR! Found: eslint@6.1.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"6.1.0" from the root project
npm ERR!   peer eslint@"^5.0.0 || ^6.0.0 || ^7.0.0" from @typescript-eslint/parser@3.2.0
npm ERR!   node_modules/@typescript-eslint/parser
npm ERR!     dev @typescript-eslint/parser@"3.2.0" from the root project
npm ERR!     peer @typescript-eslint/parser@"^3.1.0" from eslint-plugin-reactxp@0.1.10
npm ERR!     node_modules/eslint-plugin-reactxp
npm ERR!       dev eslint-plugin-reactxp@"0.1.10" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^7.1.0" from eslint-plugin-reactxp@0.1.10
npm ERR! node_modules/eslint-plugin-reactxp
npm ERR!   dev eslint-plugin-reactxp@"0.1.10" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Neither of the suggested flags seem to have any effect. Upgrading npm to latest version doesn't help. Tried on linux and windows with the same result, so I don't think it's a matter of local environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions