The latest version v7.0.0-rc.1 does not build
See original GitHub issue🐛 Bug Report
The latest version v7.0.0-rc.1 does not build
To Reproduce
Steps to reproduce the behavior:
Include the module by running the following command
npm install @elastic/elasticsearch --save
Expected behavior
Should build without any errors
However i get the following error `> tsc
node_modules/@elastic/elasticsearch/lib/Connection.d.ts:77:3 - error TS1165: A computed property name in an ambient context must refer to an expression whose type is a literal type or a ‘unique symbol’ type.
77 [inspect.custom](object: any, options: InspectOptions): string; ~~~~~~~~~~~~~~~~ `
Your Environment
- node version: 8
- @elastic/elasticsearch version: >=7.0.0
- os: Mac
- typescript: 3.4.1
- tslint: 5.14.0
Other observations
Including @types/elasticsearch would solve the issue however the types support is only for version 5.0.23
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (8 by maintainers)
Top Results From Across the Web
arangojs - v7.0.0-rc.1
Documentation for arangojs - v7.0.0-rc.1. ... The arangojs driver is compatible with the latest stable version of ArangoDB available at the time of...
Read more >Download .NET 7.0 (Linux, macOS, and Windows) - Microsoft
NET 7.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of ...
Read more >Changelog - npm Docs
Refactor ideal tree building to handle more complicated peerDependencies use cases. Do not modify ideal tree while checking if a peerSet can be...
Read more >PHP: Hypertext Preprocessor
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
Read more >The npm Blog on Tumblr
This week we released some bug fixes, a few documentation updates, and some dependency updates while we continue improving the npm 7 experience...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello! Did you installed
@types/node
?It was obvious – I was just working backwards when it was still not working.
In any case, the issue was that I also had
tsc
installed globally and that was an older version (3.1.3). This could be identified when comparing your line./node_modules/.bin/tsc index.ts
instead oftsc index.ts
.Thanks!