ran-j / chatbotnodejs Goto Github PK
View Code? Open in Web Editor NEWA deep learning ChatoBot build with nodejs and tensorflowjs
A deep learning ChatoBot build with nodejs and tensorflowjs
Error: Command failed: node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack at PythonFinder. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:16)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:154:21)
gyp ERR! System Linux 4.4.0-169-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/src/app/node_modules/@tensorflow/tfjs-node/lib/napi-v3/tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=/usr/src/app/node_modules/@tensorflow/tfjs-node/lib/napi-v3" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
gyp ERR! cwd /usr/src/app/node_modules/@tensorflow/tfjs-node
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/src/app/node_modules/@tensorflow/tfjs-node/lib/napi-v3/tfjs_binding.node --module_name=tfjs_binding --module_path=/usr/src/app/node_modules/@tensorflow/tfjs-node/lib/napi-v3 --napi_version=3 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
node-pre-gyp ERR! stack at ChildProcess. (/usr/src/app/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Linux 4.4.0-169-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/src/app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/src/app/node_modules/@tensorflow/tfjs-node
node-pre-gyp ERR! node -v v10.13.0
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
added 195 packages from 175 contributors and audited 372 packages in 194.459s
found 1 high severity vulnerability
run npm audit fix
to fix them, or npm audit
for details
audited 372 packages in 4.5s
found 1 high severity vulnerability
run npm audit fix
to fix them, or npm audit
for details
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Hi, I'm following the instructions provided, but I'm not able to run it ,
Instructions followed:
$ npm install
$ npm start
This is the issue that is showing me at the Terminal
[email protected] start C:\Users\edalh\Downloads\ChatBotNodeJS-master(1)\ChatBotNodeJS-master
node ./bin/www
internal/modules/cjs/loader.js:1003
return process.dlopen(module, path.toNamespacedPath(filename));
....
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
This is a Log Extract
10 silly lifecycle [email protected] ~start: Args: [ '/d /s /c', 'node ./bin/www' ]
11 silly lifecycle [email protected] ~start: Returned: code: 1 signal: null
12 info lifecycle [email protected] ~start: Failed to exec start script
13 verbose stack Error: [email protected] start: node ./bin/www
13 verbose stack Exit status 1
And in Order to solved I did the following:
Step 1: $ npm cache clean --force
Step 2: Delete node_modules by $ rm -rf node_modules folder or delete it manually by going into the directory and right-click > delete / move to trash. Also, delete package-lock.json file too.
Step 3: npm install
To start again, $ npm start
But didn't solve the issue,
Please your help, I think your code can help me with a project assignment, that I need to delivery
thanks,
kind regards,
Deitek
Describe the bug
followed install instructions in readme but i get this error:
[email protected] start /usr/src/javascript/ChatBotNodeJS
node ./bin/www
Illegal instruction
npm ERR! code ELIFECYCLE
npm ERR! errno 132
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 132
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
To Reproduce
follow instructions in readme
Expected behavior
should start
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Hi,
After cloning and installing all dependencies i start the project.
After adding just one intent and build the agent i try the chat. After first message i got this error:
ValueError: Error when checking : expected dense_Dense1_input to have shape [null,50] but got array with shape [1,8].
I want to extract entity from the setence
for example : order 23 cups
entity: 23
entityType : quantity
In linux, after performing npm install, when running npm start the error occurs:
Illegal instruction (core dumped)
Steps to reproduce the behavior:
sudo npm install
sudo npm start
SYSTEM OS
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
screenshot
https://ibb.co/Trnv44T
I added intents and retrained model, it added intents to db but it still cant understand even with exact word
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.