toniher / gogoapi Goto Github PK
View Code? Open in Web Editor NEWREST API for handling public and custom biological databases services
License: GNU General Public License v3.0
REST API for handling public and custom biological databases services
License: GNU General Public License v3.0
Hi, Toni
Thank you again for your help in installing the correct version of targetP. Here, I met an error with gogoapi.
I'm new to NodeJS and don't know how to fix gagapi with the following command. Could you kindly help me solve my problem?
git clone https://github.com/toniher/gogoapi.git
docker build -t mygogoapi:20211205 -f Dockerfile .
gunzip biosql-202010.sql.gz
mv biosql-202010.sql biosql.sql
sed -i 's//biodb/biosql.sql/g'
docker run --name mygogoapi -v config.json:/data/config/config.json mygogoapi:20211205
:(, I get the the fellowed errors
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
(node:8) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
/data/soft/gogoapi/node_modules/nconf/lib/nconf/stores/file.js:170
throw new Error("Error parsing your configuration file: [" + this.file + ']: ' + ex.message);
^
Error: Error parsing your configuration file: [/data/config/config.json]: EISDIR: illegal operation on a directory, read
at exports.File.File.loadSync (/data/soft/gogoapi/node_modules/nconf/lib/nconf/stores/file.js:170:11)
at exports.Provider.Provider.add (/data/soft/gogoapi/node_modules/nconf/lib/nconf/provider.js:136:23)
at exports.Provider.Provider.file (/data/soft/gogoapi/node_modules/nconf/lib/nconf/provider.js:63:15)
at new config (/data/soft/gogoapi/config.js:9:8)
at module.exports (/data/soft/gogoapi/config.js:18:9)
at Object. (/data/soft/gogoapi/index.js:6:37)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
error: Forever detected script exited with code: 1
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.