Skip to content

[Bug]: please remove tsconfig from your build artifacts #282

@parris

Description

@parris

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In vscode, when you open a file in the alpaca folder under node_modules, you'll end up getting a "Problem" appearing under the Problems tab. This is because alpaca-trade-api bundles in tsconfig, and no sources are found. The error reads: No inputs were found in config file.

Full details in this issue I filled with vscode: microsoft/TypeScript#61060
And a repro here: https://github.com/deca-inc/vscode-repro-issue-238768

Expected Behavior

No problem appears

SDK Version I encountered this issue in

"@alpacahq/alpaca-trade-api": "^3.1.3",

Steps To Reproduce

1. use vscode
2. clone my example repo, install dependencies (npm install)
3. open main and command click into Alpaca
4. See the problem tab

Notice it doesn't happen with Axios (which is also installed)

Filled out the Steps to Reproduce section?

  • I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?

Sorry for posting a bunch of issues at once - figured i drop in all the notes while i was here :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions