Tensorflow js - tfjs-examples error in tfjs-node

I have Mac Catalina, I start running the tfjs-examples : I tried 3 examples 1) addition-rnn, 2)date-conversion-attention 3)jena-weather
doing $yarn build or $yarn train - not able to resolve this error ( I even installed xcode as suggested)

Get this error var node2 = new Node();
for (var key in this) {
// Do not clone comments tha…… } could not be cloned.
var node2 = new Node();
for (var key in this) {
// Do not clone comments tha…… } could not be cloned

51 packages are looking for funding
run npm fund for details
found 5 vulnerabilities (1 low, 4 moderate)
run npm audit fix to fix them, or npm audit for details
(base) cyrils-mbp:addition-rnn cyrilfurtado$ npm audit fix
npm WARN vega-embed@6.8.0 requires a peer of vega@^5.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN vega-lite@4.13.1 requires a peer of vega@^5.12.1 but none is installed. You must install peer dependencies yourself.
npm WARN vega-themes@2.10.0 requires a peer of vega@* but none is installed. You must install peer dependencies yourself.

Thanks for posting on the forum! I just tried this myself, and I’ve run into the same build failure as you’re seeing. Would you like to post this as a bug in the tfjs GitHub repository? That will help the team track and triage the issue. If not, I’m happy to create the bug report myself.

1 Like