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)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top 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 >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
@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
3.1.0
seems ok