question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

Other observations

Including @types/elasticsearch would solve the issue however the types support is only for version 5.0.23

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
delvedorcommented, Apr 4, 2019

Hello! Did you installed @types/node?

npm i @types/node --save-dev
1reaction
jlausolutionscommented, Apr 9, 2019

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 of tsc index.ts.

Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found