Closed zen14774 closed 3 years ago
Continues to work for me as-is. What version of NodeJS were you using?
Probably v15.0.1
, that's what I have now and I don't think it has updated in the last two days.
Hmm. Looks to be caused by a change to the fs.writeFileSync()
API in Node.js v14.
Just a heads up. The version of sugarcube I found distributed with tweego was 2.30. I noticed there was a newer version so I wanted to try building this from source. When I ran
node build.js
it failed becausewriteFileContents
was expecting a string instead of a number, I was able to get it to build by casting the version number to a string. So I got it working in the end but I decided to report the small hiccup just so you're aware. Have a nice day!