Unable to deploy with module path aliases on Vercel on next 9.4.4 #15492
Unanswered
noobnoobdc137
asked this question in
Help
Replies: 1 comment 9 replies
-
|
Did you ever figure this out? I'm having the same issue. |
Beta Was this translation helpful? Give feedback.
9 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.
-
Bug report
Describe the bug
I use the feature module aliases but i cannot deploy the project on Vercel
This is how my .jsconfig.json looks like
{ "compilerOptions": { "baseUrl": ".", "paths": { "components": ["Components/*"], "globalStyles": ["public/static/styles/global/index.css"], "config": ["config"], "helpers": ["helpers"], "layouts": ["Layouts/*"] } } }My next.config.js
This is how i import in files
The configuration works perfectly on my development machine
but fails during deployment on Vercel
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Project successfully deployed
Screenshots
My Folder structure

Err

System information
Additional context
Full Log
Beta Was this translation helpful? Give feedback.
All reactions