blackhawk-ta / dynobot Goto Github PK
View Code? Open in Web Editor NEWModular Discord bot using JavaScript and optionally Python and Lua.
License: MIT License
Modular Discord bot using JavaScript and optionally Python and Lua.
License: MIT License
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'winston'
Require stack:
Node.js v17.1.0
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Can i ask what is the prefix of that bot?
npm ERR! code ENOVERSIONS npm ERR! No valid versions available for node-source-rcon
I always get this error whenever I use node main.js
SyntaxError: C:\Users\clark\Programming\dynoBot-master\cfg\security.json: Unexpected token ` in JSON at position 0
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1106:22)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\clark\Programming\dynoBot-master\src\utils\logger.js:4:18)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
Pls fix
Describe the bug
Unable to install all required dependencies due to errors with @discordjs.
See below:
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
@discordjs/[email protected] install /home/dynoBot/node_modules/@discordjs/opus
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.0/opus-v0.5.0-node-v64-napi-v3-linux-x64-glibc-2.28.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for @discordjs/[email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.0/opus-v0.5.0-node-v64-napi-v3-linux-x64-glibc-2.28.tar.gz
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.18.0-240.22.1.el8_3.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28/opus.node" "--module_name=opus" "--module_path=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
gyp ERR! cwd /home/dynoBot/node_modules/@discordjs/opus
gyp ERR! node -v v10.24.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28/opus.node --module_name=opus --module_path=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28 --napi_version=7 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
node-pre-gyp ERR! stack at ChildProcess.cmd.on (/home/dynoBot/node_modules/@discordjs/node-pre-gyp/lib/util/compile.js:85:20)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.18.0-240.22.1.el8_3.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/home/dynoBot/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/dynoBot/node_modules/@discordjs/opus
node-pre-gyp ERR! node -v v10.24.0
node-pre-gyp ERR! node-pre-gyp -v v0.3.2
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28/opus.node --module_name=opus --module_path=/home/dynoBot/node_modules/@discordjs/opus/prebuild/node-v64-napi-v3-linux-x64-glibc-2.28 --napi_version=7 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm WARN notsup Unsupported engine for @discordjs/[email protected]: wanted: {"node":">=12.0.0"} (current: {"node":"10.24.0","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: @discordjs/[email protected]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @discordjs/[email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @discordjs/[email protected] install 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-06-21T11_07_50_219Z-debug.log
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the dependencies to install without errors.
Screenshots
https://i.imgur.com/TcAwnqg.png
Additional context
To be fair, this could completely be user error - some assistance would be much appreciated.
My Feature Is To Add Prefix To Your Project
THANKS
When I run npm install, there is a dependency that doesn't exist anymore scrape-yt.
To Reproduce
Steps to reproduce the behavior:
clone and try npm install
Expected behavior
supposed to work and install dependency
Screenshots
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/scrape-yt/-/scrape-yt-1.3.1.tgz
npm ERR! 404
npm ERR! 404 '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'dynoBot'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/abs/.npm/_logs/2020-09-17T16_10_07_398Z-debug.log
Additional context
Add any other context about the problem here.
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.