1

I'm facing the below issue when executing my angular project. I have installed @uirouter/angular-hybrid as well. But still, I'm getting this error

ERROR in The target entry-point "@uirouter/angular-hybrid" has missing dependencies:
 - @uirouter/angularjs

Can you please suggest a way to achieve this?

SecretAgentMan
  • 2,856
  • 7
  • 21
  • 41
Olive
  • 149
  • 1
  • 4
  • 13

1 Answers1

1

I resolved it using the following packages:

    "@uirouter/angular-hybrid": "^12.0.0",
    "@uirouter/angular": "^8.0.0",
    "@uirouter/angularjs": "^1.0.26",
    "@uirouter/rx": "^0.6.0",

The versions are taken from the peerDependencies from node_modules\@uirouter\angular\package.json and node_modules\@uirouter\angular-hybrid\package.json

I'd still like to understand why these needed adding manually though.

Tom Robinson
  • 8,348
  • 9
  • 58
  • 102