You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't run npm ci from the repository you provided.
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://artifactory.workday.com/artifactory/api/npm/npm-virtual/source-map/-/source-map-0.6.1.tgz
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
Hi everyone,
I have created a small reproducible example of the error which you can find here.
Using path aliases in
tsconfig
andswcrc
, the index.js filename is stripped from the end of the import path when using ESM modules.The output of in the
dist/projects/api/main.js
looks like this:Renaming the file "index.js" to anything else resolves the issue and the path is added correctly. EG renaming it to
main.js
:This issue seems to have been introduced in
1.3.106
. last version that worked with this setup was1.3.105
Input code
Config
Playground link (or link to the minimal reproduction)
https://github.com/stelescuraul/dep-cruiser-issue
SWC Info output
No response
Expected behavior
Correctly append
/index.js
for path aliases.Actual behavior
No response
Version
Additional context
No response
The text was updated successfully, but these errors were encountered: