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

Warnings about wrong versions #81

@v1rtl

Description

@v1rtl

I ran this to install Rogue:

yarn add @roguejs/cli @roguejs/app react
react-dom react-router react-router-dom

But I already had some deps, such as react, react-dom and express.
And during installing I got lots of messages about wrong versions / invalid engines.

My package.json before installation of Rouge:

"dependencies": {
    "express": "^4.16.4",
    "react": "^16.7.0",
    "react-dom": "^16.7.0"
  },
  "scripts": {
    "start": "node server/index.js"
  },
  "devDependencies": {
    "@babel/core": "^7.2.2",
    "@babel/plugin-proposal-class-properties": "^7.2.3",
    "@babel/plugin-transform-function-name": "^7.2.0",
    "@babel/preset-env": "^7.2.3",
    "@babel/preset-react": "^7.0.0",
    "npm-run-all": "^4.1.5"
  }
}

It seems that conflicts shouldn't appear. By the way in my terminal weird things happen:

warning @roguejs/cli > parcel-bundler > htmlnano > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on
reading Browserslist >3.0 config used in other tools.
warning @roguejs/cli > parcel-bundler > htmlnano > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2
could fail on reading Browserslist >3.0 config used in other tools.
warning @roguejs/app > [email protected]: Please use @loadable/component
warning @roguejs/app > react-native-web > [email protected]: Check out `lodash.merge` or `merge-options` instead.
⠄ @babel/plugin-syntax-nullish-coalescing-op⠁ babel-plugin-syntax-trailing-function-comm⠂ babel-plugin-syntax-trailing-function-comm[2/4] Fetching packages...
warning [email protected]: The engine "gitbook" appears to be invalid.
[3/4] Linking dependencies...
warning "@roguejs/app > [email protected]" has unmet peer dependency "react-art@>=16.5.1".
warning "@roguejs/app > [email protected]" has incorrect peer dependency "[email protected]".

I think some libraries used in Rogue are deprecated and absolete. Nothing crashes, but it isn't cool to see so many warnings during simple installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions