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
{{ message }}
Repository navigation
error TS5056: Cannot write file '/home/node/api/dist/src/datasources/admin.datasource.d.ts' because it would be overwritten by multiple input files #35189
hi DEVS i get this problem after i try to run my server API , im using #angular 7 and #loopback
it seems like the is 2 fils pointing in the same datasources of base (client) and the same thing
happen to the (Admin database)
i found the 5054 erreur but is not the same my error is TS5056 ...
i thing is Typescript version ..im not sure any help plz
I've noticed that some of my projects now include *.d.ts outputs for json files. Since you have .ts and .json files with the same name, I guess that's the reason you're seeing the error.
Like AlCalzone said the reason is files .ts and .json with the same name; I added at the and of the name .config.json in order to avoid this errors in datasources files.
Thank you very much AlCalzone
Activity
HamzaMansouri7 commentedon Nov 19, 2019
AlCalzone commentedon Nov 19, 2019
I've noticed that some of my projects now include *.d.ts outputs for json files. Since you have .ts and .json files with the same name, I guess that's the reason you're seeing the error.
I'm not sure if that behavior is intended.
RyanCavanaugh commentedon Nov 19, 2019
See #34962 - JSON from .d.ts will be disabled in 3.7.3
typescript-bot commentedon Nov 22, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.
diegoazh commentedon Dec 29, 2019
Like AlCalzone said the reason is files
.tsand.jsonwith the same name; I added at the and of the name.config.jsonin order to avoid this errors in datasources files.Thank you very much AlCalzone