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
This is not a tsify problem. That package has no available @types:
$ npm dist-tag ls @types/bandaged__bdapi
npm ERR! dist-tag ls Couldn't get dist-tag data for @types/bandaged__bdapi
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/-/package/@types%2fbandaged__bdapi/dist-tags
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nicholas\AppData\Roaming\npm-cache\_logs\2019-01-10T12_12_53_795Z-debug.log
@cartant Sorry, that's a handwritten typo - It should be bandagedbd__bdapi. In my TypeScript file it is correct, just in that code snippet I did a typo.
If you could re-open the issue for time being; would be much appreciated.
Activity
cartant commentedon Jan 10, 2019
This is not a tsify problem. That package has no available
@types:tqwewe commentedon Jan 10, 2019
@cartant Sorry, that's a handwritten typo - It should be
bandagedbd__bdapi. In my TypeScript file it is correct, just in that code snippet I did a typo.If you could re-open the issue for time being; would be much appreciated.
cartant commentedon Jan 10, 2019
You should first verify that the import works with a plain vanilla
.tsfile that's compiled usingtsc.I.e. make sure that this compiles using
tsc:tqwewe commentedon Jan 10, 2019
yep, unfortunately still doesn't work.
tscproduces themain.jsfile whilstnode build2.jsdoes not.cartant commentedon Jan 10, 2019
I'm not going to have time to look into this anytime soon. You can, however, use the logging built into tsify to see if you can figure out why that particular package is problematic. See https://github.com/TypeStrong/tsify/blob/master/CONTRIBUTING.md#debugging
tqwewe commentedon Jan 10, 2019
TSIFY 3228: + 0 file(s) found in node_moduleThis is a line I found from the log.