Hello @Fatima, Maria !
Thank you for the logs
The Type error: Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?
suggests a problem with how paths are being resolved in your TypeScript configuration.
This typically occurs when your TypeScript code includes imports with non-relative paths, but the tsconfig.json
file does not have the baseUrl
property set correctly.
Check your tsconfig.json
. You likely need to set the baseUrl
property. This property defines the base directory from which non-relative module names are resolved.
- For example, if your TypeScript files are using imports like
import something from 'src/myModule'
, you need to set thebaseUrl
to the root directory of your source files intsconfig.json
:
{
"compilerOptions": {
"baseUrl": "./", // or the path to your source root
// ... other options
}
}
AND :
https://github.com/parcel-bundler/parcel/issues/202
I hope this helps!
The answer or portions of it may have been assisted by AI Source: ChatGPT Subscription
Kindly mark the answer as Accepted and Upvote in case it helped! Regards