Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

setup #5

Open
n1ke33 opened this issue Dec 10, 2020 · 8 comments
Open

setup #5

n1ke33 opened this issue Dec 10, 2020 · 8 comments

Comments

@n1ke33
Copy link

n1ke33 commented Dec 10, 2020

How do i setup

@udit2303
Copy link
Contributor

First of all Install all dependencies by running npm install
Then Enter your token in index.js under client.config then run node index.js.
Note: Chatbot API doesn't work as of now and I'll be making a PR for that

@n1ke33
Copy link
Author

n1ke33 commented Dec 10, 2020

i got this error
node v12.16.1

Repl.it: Updating package configuration

--> npm init -y
Wrote to /home/runner/DarkmagentaZigzagDeal/package.json:

{
"name": "DarkmagentaZigzagDeal",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}

--> npm install node-fetch quick.db snowflake-api discord.js hastebin-gen

[email protected] install /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
prebuild-install || npm run build-release

prebuild-install WARN install No prebuilt binaries found (target=12.18.3 runtime=node arch=x64 libc= platform=linux)

[email protected] build-release /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
node-gyp rebuild --release

make: Entering directory '/home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3/build'
TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-6/README.Bugs for instructions.
deps/sqlite3.target.mk:183: recipe for target 'Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o' failed
make: *** [Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o] Error 4
rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
make: Leaving directory '/home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-1019-gcp
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/runner/DarkmagentaZigzagDeal/node_modules/better-sqlite3
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-release: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-release 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! /home/runner/.npm/_logs/2020-12-10T10_59_58_901Z-debug.log
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || npm run build-release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [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! /home/runner/.npm/_logs/2020-12-10T11_00_01_146Z-debug.log
exit status 1

Repl.it: Package operation failed.

@udit2303
Copy link
Contributor

repl.it cannot install better-sqlite3 because it runs out of memory. I would recommend switching to a new host.
On most of the paid hosts, this wouldn't be a problem but if you want a free host, I would recommend something like BlueFox which is currently working fine for my bot.

@n1ke33
Copy link
Author

n1ke33 commented Dec 10, 2020

okay thanks do you have a discord that i can contact

@udit2303
Copy link
Contributor

The link is the link to their discord

@n1ke33
Copy link
Author

n1ke33 commented Dec 10, 2020

i mean your discord

@udit2303
Copy link
Contributor

i mean your discord

Here is the invite link to Snowflake Studio ❄

@n1ke33
Copy link
Author

n1ke33 commented Dec 11, 2020

Hi i tried it but its still not working all i want is a leveling bot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants