Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to install #132

Closed
Nejprof opened this issue Jul 22, 2021 · 9 comments
Closed

Failing to install #132

Nejprof opened this issue Jul 22, 2021 · 9 comments

Comments

@Nejprof
Copy link

Nejprof commented Jul 22, 2021

I tried reinstalling node.js, even tried previous versions of Mai
but I still failing at install.

There's log:
https://www.pastebin.cz/cs/p/fELtN73

@kakarot-dev
Copy link
Contributor

wth is that

give us the specefic log not the whole damn node install logs.

As for your question, can you make sure youre using node 14

@Nejprof
Copy link
Author

Nejprof commented Jul 22, 2021

This is copy and paste from console:
https://www.pastebin.cz/en/p/ikFFtyE

I have node.js 14

Nejde otevřít soubor zahrnout = Unable to open file include

@kakarot-dev
Copy link
Contributor

The “copy paste” too long, give the specefic part the code is erring

@Nejprof
Copy link
Author

Nejprof commented Jul 22, 2021

ERR part:
https://www.pastebin.cz/en/p/bDwi3GW

@maisans-maid
Copy link
Collaborator

make sure to install the windows build tools

npm install --global --production windows-build-tools

@kakarot-dev
Copy link
Contributor

lol, i forgot to respond and yea use the above command in your terminal but make sure you have admin access

@Nejprof
Copy link
Author

Nejprof commented Jul 24, 2021

I installed the windows build tools and succesfully installed bot prequisities but I keep getting

This code error:
https://www.pastebin.cz/en/p/2eDk6WE

@maisans-maid
Copy link
Collaborator

https://github.com/maisans-maid/Mai/blob/master/commands/social/resumeStreak.js#L28

Seems like this is on the source code. Conqr created that particular section. You can fix it yourself tho, just add an additional closing parenthesis on that line

- if(isNaN(Number(streakMessage)) {
+ if(isNaN(Number(streakMessage))) {

@Nejprof
Copy link
Author

Nejprof commented Jul 25, 2021

https://github.com/maisans-maid/Mai/blob/master/commands/social/resumeStreak.js#L28

Seems like this is on the source code. Conqr created that particular section. You can fix it yourself tho, just add an additional closing parenthesis on that line

- if(isNaN(Number(streakMessage)) {
+ if(isNaN(Number(streakMessage))) {

It works! Thanks!

@Nejprof Nejprof closed this as completed Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants