eram / tensorflow-stack-ts Goto Github PK
View Code? Open in Web Editor NEWTensorFlow.js Full-Stack Starter Kit
Home Page: https://tensorflow-stack-ts.appspot.com
TensorFlow.js Full-Stack Starter Kit
Home Page: https://tensorflow-stack-ts.appspot.com
Are you aware of that this repo contains dependency on malicious package - event-stream 3.3.6 ?
More info for example: https://snyk.io/blog/malicious-code-found-in-npm-package-event-stream/
Based on env vars: load tfjs-node or tfjs-node-gpu libraries.
npm run build:live gives me an error. I can't manage to compile the TypeScript.
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/processOn.ts:39:16 - error TS2345: Argument of type '"unhandledRejection"' is not assignable to parameter of type 'Signals'.
39 process.on("unhandledRejection", (err: Error) => {
~~~~~~~~~~~~~~~~~~~~
at createTSError (C:\Users\I508553\Desktop\Misc\Dev\stack\node_modules\ts-node\src\index.ts:261:12)
at getOutput (C:\Users\I508553\Desktop\Misc\Dev\stack\node_modules\ts-node\src\index.ts:367:40)
at Object.compile (C:\Users\I508553\Desktop\Misc\Dev\stack\node_modules\ts-node\src\index.ts:558:11)
at Module.m._compile (C:\Users\I508553\Desktop\Misc\Dev\stack\node_modules\ts-node\src\index.ts:439:43)
at Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Object.require.extensions.<computed> [as .ts] (C:\Users\I508553\Desktop\Misc\Dev\stack\node_modules\ts-node\src\index.ts:442:12)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Module.require (internal/modules/cjs/loader.js:830:19)
at require (internal/modules/cjs/helpers.js:68:18)
[nodemon] app crashed - waiting for file changes before starting...
Implement error-chain across API data-flow instead of using throws
PM2 config script and PMX integration: cluster manager, central logging, central counters, hot environment changes and health-checks.
Config from env
Add DB interafce (SQLite for local-dev, PostgreQLs for prod)
Replace nodemon with ts-node-dev >> don't restart the server on file change
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.