Replies: 3 comments 1 reply
-
For me apparently the deployments package can't resolve the application package internal absolute paths imports. It's a problem only with the deployments package, when I run the application package everything works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Solved it for the moment adding the application package src to the deployments absolute paths like that: "paths": {
"*": ["./src/*", "../application/src/*"]
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've run into the same issue. Is there a proper solution for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating my current project to a monorepository, and in this monorepo I've two packages: the main one and another app that import some modules from the main application. Both being next.js application
Packages structure:
When working with the old structure, the absolute path imports works fine. But now, with the new packages structure I'm facing some import problems. For me looks like the main application can't handle the application package absolute imports when the imports are made from a external folder.
Module import problem:
Where the import occurs:
Packages tsconfig if necessary:
tsconfig.base.json
application/tsconfig.json
deployments/tsconfig.json
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions