-
Notifications
You must be signed in to change notification settings - Fork 72
TypeScript reference path problem when installed via npm. #148
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
Comments
@aegggsehyun1994 thanks! Would you be able to open a quick PR for this? |
I did some investigation, and I found that this issue could be a bug in TypeScript. |
@aegggsehyun1994 can you post shell script fix in a code block (```) or a gist if a code block is too long? can you post the steps you took to trigger this error? I'm assuming it's Thanks! |
I originally found this bug when I used Angular CLI with npm, but now I found that I can reproduce this bug in a blank npm project. Here are the steps:
This script will produce following error:
Before I do anything to fix this, I would like to reask to you if a shell script would be the best temporary fix, until the TypeScript bug is resolved. |
Same problem I have temporarily fixed by this
|
This client library was replaced with a new version 20+ days ago, so this issue is outdated. Typescript definition files have changed. |
I'm using this in Angular 8.
In the file
@influxdata/influx/dist/api/api.d.ts
,the first line is:
<reference path="../src/api/custom.d.ts" />
It should be:
<reference path="../../src/api/custom.d.ts" />
The text was updated successfully, but these errors were encountered: