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.

crashed with nestjs when updated to 2.x

See original GitHub issue
[Nest] 26257   - 09/09/2019, 10:26:29 AM   [ExceptionHandler] Map#toJSON isn't generic +32ms
TypeError: Map#toJSON isn't generic
    at String.toJSON (/Users/Diluka/parsec/yybb-ums-api/node_modules/core-js/modules/_collection-to-json.js:6:38)
    at Function.<anonymous> (/Users/Diluka/parsec/yybb-ums-api/node_modules/core-js/modules/_ctx.js:18:15)
    at JSON.stringify (<anonymous>)
    at Function.stringify [as default] (/Users/Diluka/parsec/yybb-ums-api/node_modules/fast-safe-stringify/index.js:11:18)
    at ModuleTokenFactory.getDynamicMetadataToken (/Users/Diluka/parsec/yybb-ums-api/node_modules/@nestjs/core/injector/module-token-factory.js:22:44)
    at ModuleTokenFactory.create (/Users/Diluka/parsec/yybb-ums-api/node_modules/@nestjs/core/injector/module-token-factory.js:12:27)
    at ModuleCompiler.compile (/Users/Diluka/parsec/yybb-ums-api/node_modules/@nestjs/core/injector/compiler.js:21:47)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
    at Object.<anonymous> (/Users/Diluka/parsec/yybb-ums-api/node_modules/ts-node/src/bin.ts:158:12)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)

https://github.com/nestjs/nest/issues/1898

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
alubbecommented, Sep 21, 2019

@guyonroche I think it would be better to not ship exceljs with our version of babel’s polyfill and instead add to the README that it is a requirement, if needed - in other words, the consumer gets to decide if to use it and if so, what version

2reactions
Dilukacommented, Oct 11, 2019

3.1.0 seems ok

Read more comments on GitHub >

github_iconTop Results From Across the Web

Instantiating new Document in NestJS with mongoose crashes
You need to create an instance of the Mongoose model, not the class instance. This should work const cat = new this.
Read more >
NestJS Crash Course - YouTube
In this video we will explore the Nest JS Node.js framework which allows you to build fast and scalable server-side apps and APIs....
Read more >
Best way to create GraphQL API ?? | NestJS GraphQL Tutorial
In this video I walk you through how to create a new GraphQL server and API from scratch utilizing the NestJS framework.
Read more >
How to prevent your Node.js process from crashing - Medium
Interviewing some people for Node.js job positions I found two ... In the latest versions of Node.js (8.x, 9.x and probably earlier versions ......
Read more >
Let It Crash: Best Practices for Handling Node.js Errors on ...
Some strategies to gracefully shutdown the Node.js process and quickly restart your application after a catastrophic error terminates your ...
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