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.

Testing a package

See original GitHub issue


  • Leon version: 1.0.0-beta.3
  • OS (or browser) version: Firefox
  • Node.js version: 10.16.0
  • Complete “npm run check” output: Hooray! Leon can run correctly
  • (if using Docker) Complete “npm run docker:check” output: nope
  • (optional) Leon package version:

Expected Behavior

I’ve written this package but leon is able to recognize only the first expression set even if I ask him something different that should match other expression sets. So I tried to momentarly remove the first expression set and see what would happen. This is the result, but it’s not very informative to me.

Actual Behavior

.: NER :.

➡ Searching for entities...
(node:69002) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'entities' of undefined
    at Promise (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:57:49)
    at new Promise (<anonymous>)
    at Ner.extractActionEntities (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:37:12)
    at Nlu.process (/Users/federico/Dropbox/GitHub/leon/server/dist/core/nlu.js:159:37)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:69002) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

How Do We Reproduce?

You might need the package…

Extra (like a sample repo to reproduce the issue, etc.)

Issue Analytics

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

github_iconTop GitHub Comments

facorazzacommented, Jun 9, 2019

It works I’ll make a PR

facorazzacommented, Jun 9, 2019

PR #108

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package Testing & Package Validation | Westpak
What types of packaging testing methods are there? · Amazon package testing · Distribution testing · Drop testing · Vibration testing · Compression...
Read more >
What is Package Testing?
Package testing is used to inspect a variety of aspects of industrial packaging products and it ensures the best packaging possible.
Read more >
Package Testing Methods & Testing Procedures - ESL Labs
Package testing includes packaging materials, packaging components, primary packages, shipping containers, and unit loads. Testing measures the effects and ...
Read more >
Five Different Types of Package Testing | Creopack
A package can be subjected to a compression test · It is worth testing a package under different climate conditions · Testing a...
Read more >
testing - Go Packages
To write a new test suite, create a file whose name ends _test.go that contains the TestXxx functions as described here. Put the...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found