Error loading TensorflowJS in Electron App (Nodejs)
问题 I am trying to get tensorflow working in my electron app using tensorflow js. Here are the details of the various versions: Nodejs: v14.4.0 @tensorflow/tfjs - 2.0.0 @tensorflow/tfjs-node - 2.0.0 electron - 1.8.8 When I try to load the tfjs module using: const tf = require('@tensorflow/tfjs'); I get the following error: I have looked everywhere but can't seem to find anything relevant for this error. Any help would be much appreciated. 回答1: SOLUTION The issue seems to be one of competing