create-prisma-generator: Bug: npx create-prisma-generator doesn't work as intended
(note): Using PopOS 21.0 with node 16.13.1 and npm 7.5.4
Running the npx create-prisma-generator command spits out
# ....
t̎ͧè̑s̆͂t͒̉́iͯ͊͗n͗͌̎gͣͫ ̎͐tͪ̆ ҉̧̮eͪ̉s͛͛ ҉͚̝̼ẗ͑iͭ͊n̽ͯg̈ͥ ̾̾t̆͑ ҉̵̵͖e̒̅s̊̎t̄̑ͯͧiͤ̒n͆ͪg͑̓ ̂ͩt̿ͩeͪ̓sͤ̋t͌͛ͮi̅ͭnͫ͆̽ ҉̴̯͔͡g͂̎ ̂̎̈ ҉̴̷tͫͬeͯ̚̚s͒ͤ̿t̓͌i̊̈ͯ́n̿̇ͯg̃̄͑ ͮ̐tͪ̑ȇ̌̉ŝͤ ҉̗̣͝ẗ̌̾ ҉̵̧i̔͆̎ ҉̴̪̟n̈̍̿g̋̋ ̽ͤt̅̇ẻ͊sͩͮt͆͛iͫ͛n͛̚ ҉̡̯̘͞g̋̒
tͣ̽ ҉̣͙͢e͋̇s̃͆ ҉̱́͢t̽̊i̐ͮn͒ĝ̚ ̇ͬͩt̐ͥeͬ̽s̆͑t̆̽i͆ͤǹ͒g͂̚ ́ͥt͐́é̈s̃̚t͌̓ǐ̉n̈̅ ҉̱̬͖ġ̽ ͨ̾t̎͒e̓ͮs͆̾ṫͫ̔ȉ͒̐nͫ̇g͊́ ̂ͯt̿͌ ҉̸̢e͐ͦs̋͌t̒ͩ̂i̿̆n̽ͬgͨ́ ̊ͪt̏̅e̒̓s̔ͯt̋ͦîͨ ҉̰͔n̿ͫ̽ĝ̈ ͌ͨͤ ҉̹͚͖̗tͧ͑eͮͪs̈̃ ҉̠͘͝tͬ̾i͊̊nͣͦ ҉͕̝g͑ͩ
ẗͫͬ̓e̔̎s̀ ҉́͞t̆̚i͆̏nͥ̊ḡ̏ ̈ͨt͌̉ͩ ҉̡̧e͋̈ ҉̴̡s̉̀t͑̑ĩ̾̂n̄ͮgͦͤ͐̂̈ ҉̨͕ ̈ͭt͋̓̚ ҉̧͝e͊ͨs͑͒t̔̆iͧ̑ṅ̓g̒͒ ͥ̔͒t̓ͩ͊eͦͮs̈̔ ҉̴͝ẗ͐ ҉̯̩̘iͩ̏̂n͑͂ ҉͘͠gͦ̐ ҉̡̭̭ ̔t͛ͪͮeͯ̔̂sͨ̏ṫ́ ҉̣͙̲̞͢iͧͥnͩ̃g͒ ̈̑t̾̚eͭ̈šͬt̑͋̓i̽̒nͦ̑gͭ͛ ͫ͌t̍̀e͑ͩs͌͆t̐ͫi͛n͋̑ͮg̒̽̈
t͒͑eͯ̿sͣ̉ ҉̵̗͉̫tͧͭ͆ỉ̏̚ñ̏g͗ͯ ̈̾t̎͌̾ȅ̃sͤ͋tͪ͑ͩi͗̔nͭ͌g̍ͯ̚ ҉̱̫̘ ͨ̿t͑̀e̔ͨ̆ͣs̆t̑́i͛̃n̉̍̓gͦ̿͊ ̈̑ẗ̔e̔̄s̈̈̏t͐͊ĭ̈ ҉̻̦nͫͫg͋̚ ͮ̌ť̈ê̓s̒͐t̽͌i͒͗nͫ̋̎ ҉̨͈g̏̂ ҉̝͕͞ ͥ̐̿t͒͒eͧ͂ ҉͈̬͜͜s͒͆t͐̓iͪ̈n̄ͫg͐̒ ̉͐t̊̍ ҉̙̯̦̗̕eͦ͌s̍̂ťͭ ҉̳̼iͮͦn̿ͫgͣ̓
t̔̾e͆̏ ҉̴͍s͒̍t̓͂i̐̊ͪnͫͬgͬͤ ̆̎ ҉͕͍̩̟t̃͗eͯs̓ ҉̡̺tͭ̍ȉ̈̾n̈̔g̐̀ ̊ͪ̃̋ ҉́͢͝t̊̐̑e̐͑s̎ͣ͊ẗͣi̿̄ ҉̸̡̺nͭͤgͥ̃ ͬ̔t͌͆e͋͗s̆͒ ҉ ҉̘̀ẗ͆i͊ͯn̊̉gͨ̍ ҉̸̖͉̕ ͤ͊ ҉̡͠t̀ͩe͗ͧsͯ̇ ҉̛̀ ҉̤̞tͤ̓ͦiͪ̄͒n̾͗gͬͤ ͋͐t̍ͦe̓̋s̍̚t͊͑̒iͣ̈̎nͨͭgͯ̋ ҉̼̀ ͗ͩt͒̉́e̐̉s͑̽t̑̚i͑ͪnͩͦgͣͪ͑
tͯͤêͥsͤ̀t̽̈ỉͭn̈͌ͥg̈ͨ ͐ͦ̍tͣ͂e̐͆s̈͋t̏̾̀i͒͂ͦ̉n͗ͮg̏͛̓ ̋͆t̄̈ȇ͑s͛̽tͣͩi̒͆ͭn̉ͦ ҉̞̬̱̘ḡ͆̈ ͦͧṫͪ̚ȅ̚sͣ̓t̓͒̔̈i̐ͮn̐̂̇ġ̌ ͧ̃t̔̅ ҉͎͉e̐͌ś̆́t̄̈ͥi̅̈ͥn͒̈gͨͬ ͥ̈tͨ͂ě̀s̓ͤtͮ̚i͆͆ ҉̛̘̗̤n͂͂ĝ̾ ̐ͮt̔͗ẻ̒s̀͆t͆͊ȉ̔n̐͒ḡ̃
tͧ́e͑͂ ҉ ҉̧̛̬sͪ̒ ҉̨̻t̅̓ī̓n͆̈ͣgͭ̐ ͪ̇tͯ̎ ҉̵̩̜̀ͅe̓̊s͗͛̅t͛͗́i͆ͪnͭͫg̿͆ ̑̋tͮ̚eͧ̇s͂̓t̒ͤi͗̇n̑ͦg̐̌͒ ҉̵̧ ̉͆t̎̓e͒ͪs̍ͮt̀̉ĩ̾̂n̑ͦĝ͗ ͭ͒̈t́ͭ̒ẽ̈ͥ ҉̵̙̪ͅsͯͣt̎͐i̓̄nͤ̒g̅̈̎ ͩͣẗͨë͐s͂ͤ ҉̳̰t̔̅ ҉̰̀î̚n͒̿gͪ̄̓ ́͗ṫ̊e̐̇sͥͦ̀t͗͑ȉͦ ҉̴͡n̆͛g̏ ҉̵̥
tͦ͑ͭe̒̈̈sͬ̋t͂̔í̚n̏ͧǵ͂ ̆͊t̎̓e͛͂ ҉̡͡ ҉͇̰sͥ̈t͑̈i̎̚n͛̍g̍̂ ͨ̍tͭͣ̋e̒͌̆ ҉̣̲sͣ̓̔t̃ͥͥi̽̂n̋́gͬ ̈̅ ҉͍͍͞t́̔͒ẻ̎sͫt͆ͤiͧͭ̅n̂͒g̿̐ ̍ͩ̈tͦ̅ě̃̋ ҉̫̯s͌́tͩ̉ͬiͧ̓̓ ҉̨̥̹n͒̏g͊ͧ ̊͆t̄ͧ̐eͦͪͣs͂̾t͌̿̚ǐ̏n̉͊ǧ̈ ́̓t̄̚e̓͛sͤtͨ̍iͨͧn̏ͥg̈̋
t͒́e̐̊sͭͯͮtͯ̊i̐̓n͆̓͐gͣ̅́ ̈̃tͬ̈͑eͩ̈̎ ҉̴̨͇̪s͂͌t͑ͭi͋ͤñ̐gͫ̅ ҉̵̝ ͣ͐tͨͨeͣͩ ҉̪͜s̓ͤͤt͋̂i̊̄n͑̽g̔͛ ̅̊t́ͤëͤs̈̇ṫ͗i̓͛nͫ͌ͯ̆g̀̓ ̏͐tͯͯe̓̑s̈͂tͭͨì̊n͊̔g̽̓ ҉̧͕ ͤ͛tͨ͌e̐̇̈s̾̍t͆ͦ̈ȋ̑n̏̔g̍̎ ͥ̒t͗̒e͗ͧs͌ͣ̈ẗ̍͑i̎̒͐ ҉̡̥͜n̿͋́ĝ͒
t͂̓ė̈͋ ҉̶͓͙̟̣̫s̓͐t̀̐ ҉̵̮̠ȋ̀͊̇nͦ̃g̑ͣ͐ ҉̬͍́ ̈́t̏̂e̊̽s̒̊t͆ͧi͗ͦn͊̑gͦ̾ ̍ͩ ҉̤͟t͗͌͑̚ ҉̛͔̣e̐̎s͛̊tͧ̍̏ĩ͊ǹ͌ḡ̏ ͫ̈tͦ̎̄e̅̃ ҉͘͝s̀̂̓t̎͐iͬͧn͑́g̾̓ ͒̒t̀̔ͥe̿ͬsͧ̈t͑̃ĭͮn̆̚ ҉̨̲͠gͦ̚ ̓ͩ̋tͨ̂e͊ͤsͣ̈tͭͦ̐ì̐͊n̎͆g͑̾͒ ͥ̈t̐̍e͛̋sͣ͌tͥ̑i̋͒nͫ͛g͗̓
tͤͥeͤ̂͂ṡ̎ͮt͆͛ĭ͒n͗̊g̽̑̂ ̅̅t͛̾e̊̑ ҉̴̠s̒͂͐ ҉͓͖̭͘t͒ͩiͪ̾n̍̉g͋ͫ͂ ̂̌t͒̽ͪeͦ̓s̅͆t̀̀͆ ҉̴̀i̇ͨńͧg̍̐ ͑̅tͯͯẻͧ ҉̮̰̦̕sͧ͊ ҉͍̫̹t̅͐i̋͋̋n͆͋g͐̄ ̓̚t͋̊ëͭs͐͐ẗ̔i͆ͦn̿̀g̃͊ ͐̎ͩtͥ̑̔ ҉̖̻ếs̄́͑ ҉̧̀ͅt̉ͨí̈ ҉̵̸n͗̚ĝ̌ ͬ̈ẗͧͬe̽͋̈sͧ̀t͋̿̆i͂̊nͦͫgͤ̑
t̄̈̿e̒ͨsͤ̚t͐̔i̐ͧn͆͋g̋ ̈̚tͩ̈eͭ̓sͬͪt̆̽͒i͂n͑̒g͛͆ ͪͨͥtͧ̅eͣ́sͮ̐t̒̃̆i̍͂n̏̔ ҉̨̥gͮͧ͛ ̿ͮt̓͐ ҉͓͙͕e͑͛s̒̉̉tͮ̔ ҉́͘i͑̈n͛̀g̿̄̀ ̃͗t̓̅ẽ͐s̀͊t̀͗iͬ͗ ҉̢͞n͊̑̌g̊͊̈ ́ͤt̓ͪeͫ͛sͨ̐t̽͑i̓̌n͊̓g̀͊ ҉̻̱ ͯͧt̾͂e̊̈s͗͂ͣt͛ͥi͌̃nͭͩğ̈
t̄ͧe̾̾ṡ͛tͮͩi̅͋nͦ̐ ҉̞̬gͩ̍ ̅̽ẗ̈̌ ҉͙͙̮͖eͤͧs̄ͮt̍͗i̓̏nͤ̎ġ̈ ͋̓̑̿t̅̄ë̚sͪ̂ ҉̯͜t̾ͨïͤn̏̔gͦͤ ͒̇ ҉͙̮t̃ͧeͥ̅sͨ̋tͯ͊iͭͣnͧ̋̐̄g͑̽ ͩ̃t͂̍e͌͐s̏̈t̔̾ ҉̵̘ͅi͂͒n̚g̉̎ ̉̀t̓̋eͤ͆ś̆́ ҉̷͕͕̹t͗̋ĭͯn̈ͩg̈̃ ͌̊̅ ҉̤̲͟tͦ̚e͗̇s͊̅ͣtͧïͫnͮͮ̊g̔̀
tͣ̓eͨ̆ ҉̭͇sͮ̆t͛ͥĩ͛ ҉̭̠̦̦͘ń͗͗gͩ̈ ͆̈tͥ̈͂e̓ͧ ҉̣̲̠ͅs͗̽̎͑t͊ͭ ҉̡̳͎̲í̈nͭͦgͭͧ ̅̆ ҉͙̕t͆̄e̿̆ ҉̜̱̠ͅsͯ̆ ҉̣͡tͥͩiͦ͑n͐̃g̀͊ ̓ͩtͫ̓͑ẽ̽s̈ͨt̂͊ǐ̅n̑̃g͛̓̾ ҉͠ ҉̰̖ ̅̄ ҉͖͠tͪ͗e̽̋s̈̓ͯtͥ̽ ҉̹̫iͬ͂nͫ̇gͪ́ ͨ̊t͑̿e͌ͪ ҉̶̖͝s̓͒ ҉̭͇͝t̋̽i̽̾͛ ҉ ҉ ҉̜̘͖͖n̊gͨ̈ ͣ͐ẗ̄eͤ͂̀s̏ͭt̄̓i̎̚nͤ̆g͋̅
# ....
and CPU goes to 100%.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 17 (11 by maintainers)
Commits related to this issue
- ci: debugging on macos (#10) — committed to YassinEldeeb/create-prisma-generator by YassinEldeeb 2 years ago
- ci: checking if the issue is resolved (#10) — committed to YassinEldeeb/create-prisma-generator by YassinEldeeb 2 years ago
- fix: switching to chalk instead of colors (#10) — committed to YassinEldeeb/create-prisma-generator by YassinEldeeb 2 years ago
- fix: publishing chalk version (#10) — committed to YassinEldeeb/create-prisma-generator by YassinEldeeb 2 years ago
working!
let me know when the switch is done and ill let you know if it works here 😃
The new version is out, switched to chalk.js instead of color.js @itstheandre and @GauravRajSharma
Please let me know If the issue is fixed 🙏
You can also use npm / yarn resolutions. I have linked some details in the mentioned issue.
oh my godness, It’s another thing from @marak in color.js package in this issue
It’s what is causing the problem of 100% CPU usage and this zalgo output as seen here
that is quite confusing really
On my side it is literally as soon as the
npxruns and the package is downloaded, its immediately running like that. No question is prompted or anything