Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nx monorepo fail to build due to import statements in SDK generated package #1161

Open
Rafik-Belkadi-malou opened this issue Dec 17, 2024 · 0 comments

Comments

@Rafik-Belkadi-malou
Copy link

Rafik-Belkadi-malou commented Dec 17, 2024

Bug Report

Summary

When building an nx monorepo application with (Client - api) as apps and (api-sdk (generated by nestia) , DTO pacakge) packages

the nestia api-sdk generated pacakges uses relative paths imports, which causes my client app build to fail

  • SDK Version: v4.4.2
  • Expected behavior: add an option to use Path aliases rather than relative path imports
  • Actual behavior: relative path import of files not under source root in typescript which causes an error when building

Capture_decran_2024-12-08_a_15 30 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant