Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
parris opened this issue Jan 25, 2025 · 0 comments
Open
2 tasks done

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

parris opened this issue Jan 25, 2025 · 0 comments

Comments

@parris
Copy link

parris commented Jan 25, 2025

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/vscode#238768
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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant