Giter Club home page Giter Club logo

Comments (6)

cartant avatar cartant commented on August 21, 2024

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

from tsify.

tqwewe avatar tqwewe commented on August 21, 2024

@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.

from tsify.

cartant avatar cartant commented on August 21, 2024

You should first verify that the import works with a plain vanilla .ts file that's compiled using tsc.

I.e. make sure that this compiles using tsc:

import { BdApi } from 'bandagedbd__bdapi'
console.log(BdApi)

from tsify.

tqwewe avatar tqwewe commented on August 21, 2024

Imgur

yep, unfortunately still doesn't work.


tsc produces the main.js file whilst node build2.js does not.

from tsify.

cartant avatar cartant commented on August 21, 2024

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

from tsify.

tqwewe avatar tqwewe commented on August 21, 2024

TSIFY 3228: + 0 file(s) found in node_module
This is a line I found from the log.

from tsify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.