You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
Get this error when running node app.js on MacOS Catalina 10.15.4:
Error: Cannot find module '../build/Release/canvas.node'
Require stack:
- /Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/lib/bindings.js
- /Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/lib/canvas.js
- /Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/index.js
- /Users/drewstock/Desktop/teachablemachine-node-example-master/app.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
at Function.Module._load (internal/modules/cjs/loader.js:898:27)
at Module.require (internal/modules/cjs/loader.js:1089:19)
at require (internal/modules/cjs/helpers.js:73:18)
at Object.<anonymous> (/Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Module.require (internal/modules/cjs/loader.js:1089:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/lib/bindings.js',
'/Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/lib/canvas.js',
'/Users/drewstock/Desktop/teachablemachine-node-example-master/node_modules/canvas/index.js',
'/Users/drewstock/Desktop/teachablemachine-node-example-master/app.js'
]
}
I also got a flag saying I was going to need to manually install tf dependencies during npm install:
npm WARN @teachablemachine/image@0.8.4 requires a peer of @tensorflow/tfjs@1.3.1 but none is installed. You must install peer dependencies yourself.
npm WARN tensorflowtest@1.0.0 No repository field.
npm WARN tensorflowtest@1.0.0 license should be a valid SPDX license expression
Tried installing @tensorflow/tfjs@1.3.1 but that didn't seem to do anything.
Get this error when running
node app.json MacOS Catalina 10.15.4:I also got a flag saying I was going to need to manually install tf dependencies during
npm install:Tried installing
@tensorflow/tfjs@1.3.1but that didn't seem to do anything.Any ideas?