Closed terexas closed 10 months ago
Ah .. well, seems found the cause of missing imports. That error is caused by the newer version of typescript used in our project with typescript module set as commonjs:
package.json: "typescript": "~5.1.3" tsconfig.json: "module": "commonjs"
Closing it as there is nothing to do. The solution is quite simple - to use ESM instead of CommonJS.
That seems like incorrect import has been made at angular-hybrid.ts#L17 causing error "Error: export 'NATIVE_INJECTOR_TOKEN' (imported as 'NATIVE_INJECTOR_TOKEN') was not found in '@uirouter/angular' " with latest version 16.0.0.
Isn't NATIVE_INJECTOR_TOKEN exported by '@uirouter/core'?