rdbeach / wb

Online collaborative Whiteboard that is simple, free, easy to use and to deploy
https://lcfprep.com/wb2/wb.html
GNU Affero General Public License v3.0
24 stars 13 forks source link

cannot install #1

Open scharrua opened 4 years ago

scharrua commented 4 years ago

Hi! just found your project, seems very interesting. I've followed your installation instructions, but the NPM fails deploying the whole applcation: i en up with only a node_modules folder and the package-lock.json file. When trying to run : PORT=9080 npm start

it fails saying : npm WARN npm npm does not support Node.js v10.19.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm ERR! path /usr/src/wb/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/wb/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

any clue on how to solve this?

Thanks in advance

rdbeach commented 4 years ago

This looks like either a problem with node or with npm. Try updating one or both of those.

Alternatively, you can manually upload/clone the source to the node_modules directory.

once in the wb-rdbeach directory type: npm install

Then start the server as indicated in the readme page.

You can also bypass npm completely--Once the source is uploaded, go to the server directory and type: node server.js

scharrua commented 4 years ago

Thanks Robert, I'm using

node --version

v10.19.0

So I guess ths is OK.

I did clone the source and manually started WB sucessfully. the issue now is that the a notification message (something like "Creating canvas" or "loading ....") is stuck on the canvas and does not disapear/close. I still can draw and everything, but the modal dialog notification DIV is fixed in the middle of the browser window... BTW, i'm using Edge Chromium and Google Chrome.

Also, I managed to integrate WP with Jitsi Meet ;)

Cheers,

Sérgio

rdbeach commented 4 years ago

OK. Did you download the latest version of WB. that would be version 1.2.8.

If the loading message is not going away, that indicates something went wrong with the initial load. Are you using this on your local machine? Or what is the URL you are using? If you’re using Chrome you can open the developer tools and look at the JavaScript console. Tell me if there are any error messages when you load. Thx

ashutoshmishraji commented 4 years ago

Hey how we can use it angular as whiteboard webrtc