# Possible issue with discovery init , node version (resolved)

**URL:** <https://forum.scrt.network/t/possible-issue-with-discovery-init-node-version-resolved/1027>\
**Category:** Developer Help\
**Created:** [July 30, 2019, 11:45am UTC](https://forum.scrt.network/t/possible-issue-with-discovery-init-node-version-resolved/1027 "2019-07-30T11:45:16Z")\
**Posts on this page:** 2\
**Page:** 1

<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 30, 2019, 11:45am UTC](https://forum.scrt.network/t/possible-issue-with-discovery-init-node-version-resolved/1027/1 "2019-07-30T11:45:17Z")

</div>

From a discord user –

> I am getting errors when testing Enigma with the examples in the medium post  
> i created a git repo [GitHub - Solexplorer/testing-enigma: Testing Enigma](https://github.com/Solexplorer/testing-enigma)  
> When I run discovery compile, I get this error

[![](https://canada1.discourse-cdn.com/flex035/uploads/enigma1/original/1X/47e6a08e51f9a240f81782f683b75f6b5a4d0563.png)](https://cdn.discordapp.com/attachments/508759977742172161/605062634622156801/unknown.png)

> Thus it doesn’t create the files in .wasm

RESOLUTION

> Regarding the issue, I solved it by upgrading Node to the latest version  
> Somehow I got node 8.0 with apt manager and it wasn’t creating the directories like `enigma_contracts` and `secret contracts` , I debugged that and it’s a bug with `fs.writeSync` that happens with versions of node lower than 9

---

<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:** [August 1, 2019, 11:47am UTC](https://forum.scrt.network/t/possible-issue-with-discovery-init-node-version-resolved/1027/2 "2019-08-01T11:47:35Z")

</div>

The dependency on recursive folder creation has been removed in this PR: [https://github.com/enigmampc/discovery-cli/pull/5](https://github.com/enigmampc/discovery-cli/pull/5) and has been included in release `v0.0.19` of `discovery-cli`.
