In my whole project I am using a path alias.
{
"compilerOptions": {
...
"baseUrl": "./src",
"paths": {
"@/*": [
"*"
]
}
}
}
The problem is that I cannot get it to work, it always fails with this:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@/foo' imported from /repo/bar.ts
I cannot remove the alias unfortunately...
In my whole project I am using a path alias.
{ "compilerOptions": { ... "baseUrl": "./src", "paths": { "@/*": [ "*" ] } } }The problem is that I cannot get it to work, it always fails with this:
I cannot remove the alias unfortunately...