neurocode-io / alexis Goto Github PK
View Code? Open in Web Editor NEWAlexis is an app that uses RedisAI and RediSearch to retrieve information from a corpus (knowledge source) in response to a query.
License: MIT License
Alexis is an app that uses RedisAI and RediSearch to retrieve information from a corpus (knowledge source) in response to a query.
License: MIT License
Look to me an incompatibility issue with NodeJS Vs NPM.
My Environment:
npm version
{
alexis: '0.1.0',
npm: '6.14.12',
ares: '1.16.1',
brotli: '1.0.9',
cldr: '37.0',
icu: '67.1',
llhttp: '2.0.4',
modules: '83',
napi: '6',
nghttp2: '1.41.0',
node: '14.5.0',
openssl: '1.1.1g',
tz: '2020a',
unicode: '13.0',
uv: '1.38.1',
v8: '8.3.110.9-node.23',
zlib: '1.2.11'
}
$ node
Welcome to Node.js v14.5.0.
Type ".help" for more information.
>
Facing issue with NPM:
[node1] (local) [email protected] ~/alexis
$ npm install
npm WARN [email protected] No repository field.
audited 69 packages in 1.559s
24 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
[node1] (local) [email protected] ~/alexis
$ npm run bootstrap
> [email protected] bootstrap /root/alexis
> run-p dockerbootstrap clientbootstrap serverbootstrap
> [email protected] dockerbootstrap /root/alexis
> docker-compose pull ; docker-compose build
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
> [email protected] serverbootstrap /root/alexis
> cd server && npm install
npm ERR! [email protected] dockerbootstrap: `docker-compose pull ; docker-compose build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] dockerbootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_55_00_018Z-debug.log
ERROR: "dockerbootstrap" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bootstrap: `run-p dockerbootstrap clientbootstrap serverbootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_55_00_103Z-debug.log
[node1] (local) [email protected] ~/alexis
$ pwd
/root/alexis
[node1] (local) [email protected] ~/alexis
$ cd node_modules/
[node1] (local) [email protected] ~/alexis/node_modules
$ npm install
npm WARN [email protected] No repository field.
audited 69 packages in 1.433s
24 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
[node1] (local) [email protected] ~/alexis/node_modules
$ npm run bootstrap
> [email protected] bootstrap /root/alexis
> run-p dockerbootstrap clientbootstrap serverbootstrap
> [email protected] serverbootstrap /root/alexis
> cd server && npm install
> [email protected] dockerbootstrap /root/alexis
> docker-compose pull ; docker-compose build
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
> [email protected] clientbootstrap /root/alexis
> cd client && npm install
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] dockerbootstrap: `docker-compose pull ; docker-compose build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] dockerbootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_07_993Z-debug.log
ERROR: "dockerbootstrap" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bootstrap: `run-p dockerbootstrap clientbootstrap serverbootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_08_109Z-debug.log
[node1] (local) [email protected] ~/alexis/node_modules
$ pwd
/root/alexis/node_modules
[node1] (local) [email protected] ~/alexis/node_modules
$ cd ..
[node1] (local) [email protected] ~/alexis
$ npm run bootstrap
> [email protected] bootstrap /root/alexis
> run-p dockerbootstrap clientbootstrap serverbootstrap
> [email protected] clientbootstrap /root/alexis
> cd client && npm install
> [email protected] serverbootstrap /root/alexis
> cd server && npm install
> [email protected] dockerbootstrap /root/alexis
> docker-compose pull ; docker-compose build
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] dockerbootstrap: `docker-compose pull ; docker-compose build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] dockerbootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_15_944Z-debug.log
ERROR: "dockerbootstrap" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bootstrap: `run-p dockerbootstrap clientbootstrap serverbootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_16_087Z-debug.log
[node1] (local) [email protected] ~/alexis
$ npm install
npm WARN [email protected] No repository field.
audited 69 packages in 1.641s
24 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
[node1] (local) [email protected] ~/alexis
$ npm run bootstrap
> [email protected] bootstrap /root/alexis
> run-p dockerbootstrap clientbootstrap serverbootstrap
> [email protected] dockerbootstrap /root/alexis
> docker-compose pull ; docker-compose build
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
> [email protected] serverbootstrap /root/alexis
> cd server && npm install
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
> [email protected] clientbootstrap /root/alexis
> cd client && npm install
npm ERR! [email protected] dockerbootstrap: `docker-compose pull ; docker-compose build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] dockerbootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_28_644Z-debug.log
ERROR: "dockerbootstrap" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] bootstrap: `run-p dockerbootstrap clientbootstrap serverbootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] bootstrap script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_28_734Z-debug.log
[node1] (local) [email protected] ~/alexis
$ npm start
> [email protected] start /root/alexis
> run-p server client
> [email protected] server /root/alexis
> cd server && npm run start
> [email protected] client /root/alexis
> run-s waitForBackend frontend
> [email protected] start /root/alexis/server
> run-p redis server pdfProcessor
> [email protected] waitForBackend /root/alexis
> sleep 5
> [email protected] pdfProcessor /root/alexis/server
> dotenv -e src/dev.env -- tsnd --respawn src/pdf-processing/worker.ts
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
> [email protected] server /root/alexis/server
> dotenv -e src/dev.env -- tsnd --respawn src/index.ts
npm ERR! [email protected] pdfProcessor: `dotenv -e src/dev.env -- tsnd --respawn src/pdf-processing/worker.ts`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] pdfProcessor script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Error relocating /usr/lib/libpython3.8.so.1.0: sched_setaffinity: symbol not found
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_36_552Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
ERROR: "pdfProcessor" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `run-p redis server pdfProcessor`
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.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_36_649Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] server: `cd server && npm run start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_36_694Z-debug.log
ERROR: "server" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `run-p server client`
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.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-15T07_57_36_768Z-debug.log
[node1] (local) [email protected] ~/alexis
$
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.