# Help with init (moved)

**URL:** https://forum.scrt.network/t/help-with-init-moved/1020
**Category:** Developer Help
**Created:** [July 24, 2019, 10:23pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020 "2019-07-24T22:23:55Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/tor/32/503_2.png) [@tor](https://forum.scrt.network/u/tor)
#### Post date: [July 24, 2019, 10:23pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/1 "2019-07-24T22:23:55Z")

</div>

Hi @berlin, I’m moving your question here so our devs can help you out!

* * *

i am experiencing problem with discovery init with ubuntu 18.04.  
might this related to node version?

v10.13.0/lib/node\_modules/@enigmampc/discovery-cli/node\_modules/cli-color/trim.js:8  
module.exports = function (str) { return str.replace(r, ‘’); };  
^  
TypeError: Cannot read property ‘replace’ of undefined  
at module.exports (/home/berlion/.nvm/versions/node/v10.13.0/lib/node\_modules/@enigmampc/discovery-cli/node\_modules/cli-color/trim.js:8:46)  
at Line.column (/home/berlion/.nvm/versions/node/v10.13.0/lib/node\_modules/@enigmampc/discovery-cli/node\_modules/clui/lib/clui.js:293:23)  
at /home/berlion/.nvm/versions/node/v10.13.0/lib/node\_modules/@enigmampc/discovery-cli/src/docker.js:45:14  
at Array.forEach ()  
at IncomingMessage.stream.on (/home/berlion/.nvm/versions/node/v10.13.0/lib/node\_modules/@enigmampc/discovery-cli/src/docker.js:10:30)  
at IncomingMessage.emit (events.js:182:13)  
at IncomingMessage.EventEmitter.emit (domain.js:442:20)  
at addChunk (\_stream\_readable.js:283:12)  
at readableAddChunk (\_stream\_readable.js:264:11)  
at IncomingMessage.Readable.push (\_stream\_readable.js:219:10)  
at HTTPParser.parserOnBody (\_http\_common.js:122:22)  
at Socket.socketOnData (\_http\_client.js:441:20)  
at Socket.emit (events.js:182:13)  
at Socket.EventEmitter.emit (domain.js:442:20)  
at addChunk (\_stream\_readable.js:283:12)  
at readableAddChunk (\_stream\_readable.js:264:11)  
at Socket.Readable.push (\_stream\_readable.js:219:10)  
at Pipe.onStreamRead [as onread] (internal/stream\_base\_commons.js:94:17)

---

<div class="post-metadata">

### Author: ![arookie](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/arookie/32/845_2.png) [@arookie](https://forum.scrt.network/u/arookie)
#### Post date: [July 25, 2019, 2:51am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/2 "2019-07-25T02:51:34Z")

</div>

hi @berlin, can you tell which node version you’re running?  
I used `nvm` to manage `npm/node` version, it’ll be better.  
Before using `nvm`, I manually installed `npm` & `node`, it caused so many troubles.

Hope this help.

---

<div class="post-metadata">

### Author: ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forum.scrt.network/u/berlin)
#### Post date: [July 26, 2019, 12:04am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/3 "2019-07-26T00:04:35Z")

</div>

10.13 the version info is in the path of the error message posted.

---

<div class="post-metadata">

### Author: ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forum.scrt.network/u/berlin)
#### Post date: [July 26, 2019, 12:07am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/4 "2019-07-26T00:07:11Z")

</div>

i am using nvm to manage node version too.

---

<div class="post-metadata">

### Author: ![arookie](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/arookie/32/845_2.png) [@arookie](https://forum.scrt.network/u/arookie)
#### Post date: [July 26, 2019, 2:26am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/5 "2019-07-26T02:26:45Z")

</div>

hi @berlin, I think you can go Discordapp via [this invitation link](https://discordapp.com/invite/SJK32GY) to interact directly with their devs.

---

<div class="post-metadata">

### Author: ![ainsley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/ainsley/32/73_2.png) [@ainsley](https://forum.scrt.network/u/ainsley)
#### Post date: [July 29, 2019, 1:48pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/6 "2019-07-29T13:48:12Z")

</div>

Hey @adi could you check this out when you have a moment? @berlin – can you verify that this hasn’t been resolved yet? (and if it was, could you let us know how you fixed it?)

---

<div class="post-metadata">

### Author: ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forum.scrt.network/u/berlin)
#### Post date: [July 29, 2019, 2:58pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/7 "2019-07-29T14:58:51Z")

</div>

@ainsley i have not gotten response yet. might be related to node version. what version of node that you recommend? we are on 10.15.3.

---

<div class="post-metadata">

### Author: ![arookie](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/arookie/32/845_2.png) [@arookie](https://forum.scrt.network/u/arookie)
#### Post date: [July 29, 2019, 3:01pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/8 "2019-07-29T15:01:06Z")

</div>

hi @berlin, i’m on node `v10.16.0` - the stable one and I also use nvm to set default node version.

No problem with that when I’m running on ubuntu 16.04.

Hope this help.

---

<div class="post-metadata">

### Author: ![victor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/victor/32/91_2.png) [@victor](https://forum.scrt.network/u/victor)
#### Post date: [July 29, 2019, 3:16pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/9 "2019-07-29T15:16:32Z")

</div>

The latest versions of Node 10 and 11 should work fine. We recently updated our NodeJS repos from the latest 10 to the latest 11, and everything has been working fine for us on both.

---

<div class="post-metadata">

### Author: ![ainsley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/ainsley/32/73_2.png) [@ainsley](https://forum.scrt.network/u/ainsley)
#### Post date: [July 31, 2019, 10:25am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/10 "2019-07-31T10:25:19Z")

</div>

Hey @berlin – was this resolved? I noticed you also had posted an issue with discovery test recently. Thanks for your patience as we try to figure this out.

---

<div class="post-metadata">

### Author: ![guix](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/guix/32/277_2.png) [@guix](https://forum.scrt.network/u/guix)
#### Post date: [July 31, 2019, 2:52pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/11 "2019-07-31T14:52:25Z")

</div>

Hi @ainsley,

I’m having the same problem here, either with latest Node 11 (11.15.0) or 10 (10.16.0).

Ubuntu 18.04 (Bionic LTS), latest NVM (0.34.0), zsh.

---

<div class="post-metadata">

### Author: ![ainsley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/ainsley/32/73_2.png) [@ainsley](https://forum.scrt.network/u/ainsley)
#### Post date: [July 31, 2019, 2:54pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/12 "2019-07-31T14:54:56Z")

</div>

Thanks for letting us know @guix.

@adi – can you take a look, and confirm which ubuntu version we’re supporting right now (or if it should matter)? I think the issue may be around Ubuntu version, though I am not sure why that would be at this time.

---

<div class="post-metadata">

### Author: ![guix](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/guix/32/277_2.png) [@guix](https://forum.scrt.network/u/guix)
#### Post date: [July 31, 2019, 2:59pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/13 "2019-07-31T14:59:23Z")

</div>

I don’t think the Ubuntu version should matter, nore the Node version since it’s working for @arookie with 10.16.0 and not for me.

In fact it might just be that I run out of disk space to pull the docker images, will let you know as soon as I make space 🙂

---

<div class="post-metadata">

### Author: ![ainsley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/ainsley/32/73_2.png) [@ainsley](https://forum.scrt.network/u/ainsley)
#### Post date: [July 31, 2019, 3:01pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/14 "2019-07-31T15:01:07Z")

</div>

OK, cool! Do let us know if that works. We’re trying to isolate more of the different types of bugs people encounter setting up environments, as it can be hard to replicate them…

---

<div class="post-metadata">

### Author: ![guix](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/guix/32/277_2.png) [@guix](https://forum.scrt.network/u/guix)
#### Post date: [July 31, 2019, 3:13pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/15 "2019-07-31T15:13:11Z")

</div>

Well I can already confirm I was indeed running out of space which can hardly be any good 😃

It should be OK as soon as I’ve finished moving my TV series on my bigger storage drive 😊

---

<div class="post-metadata">

### Author: ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forum.scrt.network/u/berlin)
#### Post date: [July 31, 2019, 8:18pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/16 "2019-07-31T20:18:35Z")

</div>

yes. got this resolved. node version 10.16.0 works.

---

<div class="post-metadata">

### Author: ![ainsley](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/ainsley/32/73_2.png) [@ainsley](https://forum.scrt.network/u/ainsley)
#### Post date: [August 1, 2019, 10:30am UTC](https://forum.scrt.network/t/help-with-init-moved/1020/17 "2019-08-01T10:30:19Z")

</div>

Great, thanks for the update @berlin. And if you’ve had the chance to find out yet, let us know if the storage was the issue for you @guix ! Thanks 🙂

---

<div class="post-metadata">

### Author: ![guix](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/guix/32/277_2.png) [@guix](https://forum.scrt.network/u/guix)
#### Post date: [August 1, 2019, 12:55pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/18 "2019-08-01T12:55:44Z")

</div>

@ainsley Yes it works now. Sorry for the delay, I had to backup then resize my partitions ( Docker uses / so if you have /home on another partition, it’s / you must make space on).

---

<div class="post-metadata">

### Author: ![berlin](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@berlin](https://forum.scrt.network/u/berlin)
#### Post date: [August 1, 2019, 4:10pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/19 "2019-08-01T16:10:56Z")

</div>

yes. it is. i couldn’t try it on my laptop. it took up too much space.

---

<div class="post-metadata">

### Author: ![laura](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.scrt.network/laura/32/911_2.png) [@laura](https://forum.scrt.network/u/laura)
#### Post date: [August 11, 2019, 9:19pm UTC](https://forum.scrt.network/t/help-with-init-moved/1020/20 "2019-08-11T21:19:07Z")

</div>

I ran into this issue today too and it was indeed a space problem. I cleaned up my docker images using this post (really helpful), and afterward everything went smoothly: [https://getintodevops.com/blog/keeping-the-whale-happy-how-to-clean-up-after-docker](https://getintodevops.com/blog/keeping-the-whale-happy-how-to-clean-up-after-docker)
