Giter VIP home page Giter VIP logo

zchain's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lommaj

zchain's Issues

Add MacOS setup steps to readme

Had a few users asking about this so might be nice to add to readme. Here are the steps from dilden

Make sure you have XCode and Homebrew (https://mac.install.guide/homebrew/2.html)
Make sure you have the latest version of node, I have: v16.15.0
If you update, close and restart terminal.

node -v

brew install node

brew install git

sudo npm install -g yarn

git clone https://github.com/zer0-os/zChain.git

sh install.sh

cd zChain

cd packages/meow-cli

sudo npm link --force

cd ../..

meow sandbox

Suggestion: globally maintained address book

Hello, more of a usability suggestion, initially raised by Joe's Time Machines#5690

Currently we need to update our local address book with peerID and a name, for each person. This means everyone needs to post their peerID and name and everyone has to update these manually locally. It would be nice to have a globally maintained address book somehow, for those that wish to associate their peerid with a name.

Prompt for twitter pin waits indefinitely

When calling meow.enableTwitter(true), the prompt prints the pin I enter but does not proceed

After some experimentation it seems to be caused by the prompt-sync call

const pin = promptSync('Please enter PIN: ');

I haven't found the reason yet but it seems to have been reported by others, eg
https://stackoverflow.com/questions/54649465/how-to-do-try-catch-and-finally-statements-in-typescript

I will keep trying to figure it out but just pinging you guys for awareness

Doesnt build on M1 / ARM

I cant get it to build on M1 mac due to what looks like a x86 dependency for electron.

I will dig in a little and try to get a build.

Didnt work with a rosetta 2 terminal.

Node.js memory leak

Hello, I left my meow sandbox running for a few days and it suddenly died with some kind of node.js memory leak. I pasted all the console output below,

Is there anything else I can upload to help you reproduce the issue? Logs etc.

<--- Last few GCs --->

[16888:000001D5C98C77A0] 231003054 ms: Mark-sweep 2021.5 (2084.5) -> 2020.5 (2084.5) MB, 1508.4 / 3.7 ms (average mu = 0.101, current mu = 0.006) allocation failure scavenge might not succeed
[16888:000001D5C98C77A0] 231004667 ms: Mark-sweep 2021.5 (2084.5) -> 2020.5 (2084.5) MB, 1486.5 / 3.1 ms (average mu = 0.090, current mu = 0.079) task scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF611AB7A1F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
2: 00007FF611A46096 DSA_meth_get_flags+65542
3: 00007FF611A46F4D node::OnFatalError+301
4: 00007FF61237B2CE v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF6123658AD v8::SharedArrayBuffer::Externalize+781
6: 00007FF612208C7C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
7: 00007FF612215929 v8::internal::Heap::PublishPendingAllocations+1129
8: 00007FF6122128FA v8::internal::Heap::PageFlagsAreConsistent+2842
9: 00007FF612205559 v8::internal::Heap::CollectGarbage+2137
10: 00007FF612203710 v8::internal::Heap::AllocateExternalBackingStore+2000
11: 00007FF612228296 v8::internal::Factory::NewFillerObject+214
12: 00007FF611F5A765 v8::internal::DateCache::Weekday+1797
13: 00007FF612408FC1 v8::internal::SetupIsolateDelegate::SetupHeap+494417
14: 00007FF61247645C v8::internal::SetupIsolateDelegate::SetupHeap+942060
15: 000001D5CBCE3FDC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.