/lynxchan/ - LynxChan

The best engine you will ever shitpost with.



Keep threads on-topic.
Roadmap
Installation video tutorial
Vichan migration script

Reply:



Max Message Length: 4096
Don't show location
Make sure I have a block bypass
Files:
Spoiler Max File Size: 1.00 MB
File Limit Per Post: 3
Remember to follow the rules .


bcrypt Cat 09/20/2018 (Thu) 20:57:58 Id: 4fb3fc No. 586
hi! Every time i do the install script, it gives an error that the bcrypt git repo isn't even there. Your install script is calling for version 1 of bcrypt, and when one does npm install bcrypt you can see that bcrypt is version 3 now, AND 1 has a wrap around security issue. Can you pls update the install script to call the right version of bcrypt? It shits out like 30 bcrypt warnings and errors, and it says the git address where the script is tryig to get bcrypt from does not even exitst. thanks!!

Cat 09/20/2018 (Thu) 21:31:38 Id: f9540c No. 589
bcrypt has been removed entirely on 2.1. And if npm fucked it up it's on their part.

Cat 09/20/2018 (Thu) 21:41:48 Id: f9540c No. 590
Also, I just managed to install bcrypt 1.0.x just fine with npm install, I don't know about what 30 errors you are talking about.

npm install

> bcrypt@1.0.3 install /home/stephen/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

[bcrypt] Success: "/home/stephen/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
added 107 packages from 98 contributors and audited 252 packages in 6.088s
found 0 vulnerabilities

Cat 09/20/2018 (Thu) 23:41:41 Id: cfb5c3 No. 592
i get errors too every time that original poster that you were a dick to in your reply was right. I will send you a pic in a couple days of the errors, as i will reinstall just so i can show you that you are being a dick to that unknown amazingly smart and correct original poster. lol

Cat 09/20/2018 (Thu) 23:48:29 Id: cfb5c3 No. 593
to quote --- "bcrypt has been removed entirely on 2.1. And if npm fucked it up it's on their part." oah really? That's funny cuz i get bcrypt errors when i instal 2.11 and it sure the fuck looks like bcrypt is there, tough guy.

Cat 09/20/2018 (Thu) 23:55:50 Id: f9540c No. 594
2.11 doesn't exist.

Cat 09/21/2018 (Fri) 01:38:20 Id: cfb5c3 No. 596
Open file ( 96.09 KB 1581x975 Untitled.png )
okay here is is, can you pls look at this and see whats wrong? There is a lot of shit under it too but i figured the start of the errors should say whats wrong. Thanks

Cat 09/21/2018 (Fri) 01:40:29 Id: cfb5c3 No. 597
Open file ( 105.91 KB 1762x976 Untitled.png )
Page 2 of the errors... i wasn't being a dick when i said there are like 30 errors, there are about 4 pages of them

Cat 09/21/2018 (Fri) 01:43:40 Id: cfb5c3 No. 598
Open file ( 20.38 KB 1597x289 Untitled.png )
Oah it was only 3 pages , sorry . here is the last part of the errors, kind of interesting it says maybe something is wrong with npm?

Cat 09/21/2018 (Fri) 01:46:44 Id: cfb5c3 No. 599
>>594 ahh ur right, it is 2.0.11 that i have, not 2.11

Cat 09/21/2018 (Fri) 01:53:49 Id: cfb5c3 No. 600
>>591 not really, there is nothing good out there that works with 2.0.11 -- but the placeholder is fucking awesome, it's fast, looks good and seems reliable as hell. I really like the placeholder, it is perfection. I wish the placeholder could show youtube videos then i wouldn't even use another front end.

Cat 09/21/2018 (Fri) 01:59:17 Id: f9540c No. 601
What node version you have? How many different installs did you do?

Cat 09/21/2018 (Fri) 02:52:06 Id: cfb5c3 No. 602
Open file ( 49.91 KB 988x512 Untitled.png )
>>601 node version 10.11.0 (see pic) ubuntu 18, digital ocean server, i did about 7 different installs each from scratch when i was learning how to set up lynxchan, and every time i got the bcrypt error when doing the setup.sh. You see, what i do is then try npm install bcrypt and it puts 3.0 on there (see pic) but even when i do that and supposedly bcrypt 3.o is on there, when i run setup.sh i still get the errors about bcrypt. I tried every variable i could think of. Im new to node.. so i dont even know if the error matters. Thanks

Cat Board owner 09/21/2018 (Fri) 12:32:47 Id: ca6e37 No. 603
>>602
The readme says to use node 8 for 2.0.
Also, delete /usr/local/lib/node_modules before doing a new install and make sure you the c++ compiler from gcc, usually is g++ or gcc-c++.

Cat Board owner 09/21/2018 (Fri) 13:32:03 Id: ca6e37 No. 604
>>603
Btw, from bcrypt's readme:
https://www.npmjs.com/package/bcrypt
node 10 doesn't work with any bcrypt version before 3.

Cat 09/21/2018 (Fri) 17:59:30 Id: 9ce125 No. 605
>>603 >>602 Okay,thanks. Whenever i reinstall i completely have the server start from scratch. Digital Ocean is awesome, you hit destroy server but then scroll way down it gives the option of setting the image back to original- so its a complete fresh reinstall. Looks like i am not using the right versions, im jumping too far ahead in the node version. Seems to work tho! Im new to lynxchan, slowly learning all about it.

Cat 09/21/2018 (Fri) 18:43:03 Id: ca6e37 No. 606
>>605
The most valuable skill you can have is to read the documentation.

Cat 09/21/2018 (Fri) 19:02:17 Id: cfb5c3 No. 607
>>605 right on the git main page it says use version 10.x of node it did not say use version 8

Cat 09/21/2018 (Fri) 19:42:24 Id: ca6e37 No. 610
>>607
Of the master branch. On the 2.0.x branch it says 8.


Reason:
Password:
Global
Delete only files
Delete media (Actually removes the saved files from the server, standard file deletion only removes the reference to the selected posts)

Captcha(Used for reporting and bans by board staff): No cookies?