Comments (6)
Hi @DalderupMaurice
From what I can see, this looks like a create-react-app problem. I saw this discussion several times around the web (example here: facebook/create-react-app#4436)
A quick fix would be to just use Node v12 or pass an extra flag to your react-app script like: node --max-old-space-size=4000 npm run start
Let me know if that helps so I can either close the ticket or run more investigation
from unique-names-generator.
We don't use create-react-app and we're having the same issues.
Having the same issue here, and neither using node 12 or passing an extra param are options at the moment, unfortunately.
NOTE: We have close to 100 dependencies and none caused this issue.
[0] <--- Last few GCs --->
[0]
[0] [82193:0x108008000] 31907 ms: Scavenge 1377.1 (1423.0) -> 1376.4 (1423.5) MB, 2.2 / 0.0 ms (average mu = 0.186, current mu = 0.150) allocation failure
[0] [82193:0x108008000] 31910 ms: Scavenge 1377.4 (1423.5) -> 1376.8 (1424.0) MB, 2.4 / 0.0 ms (average mu = 0.186, current mu = 0.150) allocation failure
[0] [82193:0x108008000] 31913 ms: Scavenge 1377.5 (1424.0) -> 1376.9 (1425.0) MB, 2.2 / 0.0 ms (average mu = 0.186, current mu = 0.150) allocation failure
[0]
[0]
[0] <--- JS stacktrace --->
[0]
[0] ==== JS stack trace =========================================
[0]
[0] 0: ExitFrame [pc: 0x10826fa5be3d]
[0] Security context: 0x316711e9e6e9 <JSObject>
[0] 1: SourceMapConsumer_allGeneratedPositionsFor [0x3167b98b6ce9] [/Users/yuriteixeira/Projects/XYZ/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js:~178] [pc=0x1082705060fb](this=0x3167ec7dc919 <BasicSourceMapConsumer map = 0x3167a1690641>,aArgs=0x316777082249 <Object map = 0x31677df5c461>)
[0] 2: /* anonymous */(aka /...
[0]
[0] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
[0] 1: 0x10003c597 node::Abort() [/usr/local/bin/node]
[0] 2: 0x10003c7a1 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
[0] 3: 0x1001ad575 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
[0] 4: 0x100579242 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
[0] 5: 0x10057bd15 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
[0] 6: 0x100577bbf v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
[0] 7: 0x100575d94 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
[0] 8: 0x10058262c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[0] 9: 0x1005826af v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[0] 10: 0x100551ff4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]
[0] 11: 0x1007da044 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
[0] 12: 0x10826fa5be3d
[0] 13: 0x1082705060fb
from unique-names-generator.
While searching for a replacement to the lib, I decided to try v3 just in case, and it worked for me @DalderupMaurice
from unique-names-generator.
While searching for a replacement to the lib, I decided to try v3 just in case, and it worked for me @DalderupMaurice
Oh great! I haven't found any other solutions, but the ones proposed by @andreasonny83 (more specifically - upgrading to node 12) have done the job for me.
from unique-names-generator.
Glad to hear that. thanks
from unique-names-generator.
v4
works if you add the following to your .env
file:
SKIP_PREFLIGHT_CHECK=true
(taken from storybookjs/storybook#5183)
from unique-names-generator.
Related Issues (20)
- An in-range update of @typescript-eslint/parser is breaking the build 🚨 HOT 17
- An in-range update of @typescript-eslint/eslint-plugin is breaking the build 🚨 HOT 17
- dictionary of numbers HOT 3
- What about i18n ? HOT 3
- How to disclude "Ethnic" adjectives? HOT 1
- removing the colors from adjactives
- How is uniqueness ensured? HOT 6
- Names not defaulting to lowerCase, or respecting `type` option HOT 1
- too long of a seed yields bad result
- Low number of combinations when using user-provided seed
- Using Ethereum addresses as seed issue HOT 2
- Min and max length HOT 3
- Option to get words of word length in defined range like NumberDictionary
- Name words are in dictionary order only. HOT 1
- Numbers Dictionary does not respect seed HOT 1
- Add a link to an online generator demo for mock-ups HOT 1
- Please remove `sexual` from adjectives dict HOT 4
- Unable to use with NextAuth to run on Vercel's edge due to use of crypto package
- Seperator Doesn't Affect Name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unique-names-generator.