Skip to content

Casbin.js 0.1.0 with react-scripts 4.0.2 conflict #28

@kavindapelpola

Description

@kavindapelpola

Hi, when I add Casbin.js to my react project I get the error below. To use Casbin.js I need to downgrade Casbin.js to a version that is not tied to babel-loader 8.2.2, but this cannot be the long term solution. Can you advise how to proceed?

The react-scripts package provided by Create React App requires a dependency:

"babel-loader": "8.1.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-loader was detected higher up in the tree:

/Users/kavindapelpola/src/atos-ams/packages/ams/ui/node_modules/babel-loader (version: 8.2.2)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions