ng-universal-module icon indicating copy to clipboard operation
ng-universal-module copied to clipboard

Building the application fails because of wrong imports

Open cvetlicni opened this issue 6 years ago • 0 comments

Essentially, I am unable to build my Angular application because of the following error:

ERROR in node_modules/@hapiness/ng-universal/module/services/engine/ng.service.d.ts:3:49 - error TS2307: Cannot find module '@hapiness/core/httpserver'.

3 import { HttpResponse, HttpServerRequest } from '@hapiness/core/httpserver';
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@hapiness/ng-universal/module/index.d.ts:4:35 - error TS2307: Cannot find module '@hapiness/core/httpserver'.

4 export { HttpServerRequest } from '@hapiness/core/httpserver';
                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is there a dependency, that should be updated or something like that? I installed them, following the docs, so all are latest versions.

"@hapiness/core": "^1.6.1",
    "@hapiness/ng-universal": "^8.1.0",
    "@hapiness/ng-universal-transfer-http": "^10.1.1",

cvetlicni avatar Feb 19 '20 22:02 cvetlicni