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.

Using gluegun 4.2.0 I get the following errors trying to build my project:

node_modules/gluegun/build/types/toolbox/filesystem-types.d.ts:40:36 - error TS2694: Namespace 'path' has no exported member 'resolve'.
40     resolve: typeof import('path').resolve;
                                      ~~~~~~~
node_modules/gluegun/build/types/toolbox/prompt-enquirer-types.d.ts:70:34 - error TS2689: Cannot extend an interface 'NodeJS.EventEmitter'. Did you mean 'implements'?
70 declare class BasePrompt extends NodeJS.EventEmitter {
                                    ~~~~~~
node_modules/gluegun/build/types/toolbox/prompt-enquirer-types.d.ts:75:44 - error TS2689: Cannot extend an interface 'NodeJS.EventEmitter'. Did you mean 'implements'?
75 declare class Enquirer<T = object> extends NodeJS.EventEmitter {
                                              ~~~~~~

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
eugeneduvenagecommented, Mar 22, 2020

I ran across this same issue recently, it turned out to be a simple typings mismatch, I was running the lts node series v12.16.1 but I had installed @node/types from the 13.x.x series. I updated my package.json to specify version 12.12.30 of @types/node and the problem went away.

0reactions
vincent-thomascommented, Oct 31, 2021

I also have a typeerror but i dont know how to solve it:

    throw up;
    ^

TypeError: _b.apply is not a function
    at C:\Coding_and_Tools\v-thomas\passwrdmngr-new\build\extensions\mainMenu.js:53:47
    at step (C:\Coding_and_Tools\v-thomas\passwrdmngr-new\build\extensions\mainMenu.js:33:23)
    at Object.next (C:\Coding_and_Tools\v-thomas\passwrdmngr-new\build\extensions\mainMenu.js:14:53)
    at fulfilled (C:\Coding_and_Tools\v-thomas\passwrdmngr-new\build\extensions\mainMenu.js:5:58)```
Im using prisma but i know thats not the problem. I think its to do with gluegun. Can anybody help me?
Read more comments on GitHub >

github_iconTop Results From Across the Web

Type I & Type II Errors | Differences, Examples, Visualizations
In statistics, a Type I error is a false positive conclusion, while a Type II error is a false negative conclusion.
Read more >
Type I and type II errors - Wikipedia
In statistical hypothesis testing, a type I error is the mistaken rejection of an actually true null hypothesis (also known as a "false...
Read more >
What are Type I and Type II Errors? - Simply Psychology
A type 1 error is also known as a false positive and occurs when a researcher incorrectly rejects a true null hypothesis. This...
Read more >
Statistics: What are Type 1 and Type 2 Errors? - AB Tasty
Type 1 errors – often assimilated with false positives – happen in hypothesis testing when the null hypothesis is true but rejected.
Read more >
Type II Error Explained, Plus Example & vs. Type I Error
A Type II error can be contrasted with a type I error is the rejection of a true null hypothesis, whereas a type...
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