diia-open-source / be-pkg-validators

European Union Public License 1.2
4 stars 2 forks source link

Cant link all stuff together #3

Open MilkeeyCat opened 5 months ago

MilkeeyCat commented 5 months ago

Hey, when i try to link everything with npm link @diia-inhouse/configs @diia-inhouse/errors @diia-inhouse/eslint-config @diia-inhouse/typesi get this error(i set up all needed links for those packages as well)

npm ERR! command sh -c npm run build
npm ERR! > @diia-inhouse/errors@1.6.2 prebuild
npm ERR! > rimraf dist
npm ERR!
npm ERR!
npm ERR! > @diia-inhouse/errors@1.6.2 build
npm ERR! > tsc
npm ERR!
npm ERR! src/errors/AccessDeniedError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/BadRequestError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/DatabaseError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/DocumentNotFoundError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/ExternalCommunicatorError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/HttpError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/InternalServerError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/ModelNotFoundError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/NotFound.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/RequestTimeoutError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/ServiceConfigurtionError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/ServiceUnavailableError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/UnauthorizedError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/UnprocessableEntityError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.
npm ERR! src/errors/ValidationError.ts(1,32): error TS2307: Cannot find module '@diia-inhouse/types' or its corresponding type declarations.

Even tho when I try to run npm run build in pkg-errors everything works fine :(