Comments (23)
Maybe compiler failed for that file.
With node version of 0.10.36 it works fine
from core.
Seems like there are still some files missing to run collab?
this time there are unnecessary files instead, it should work if you delete
https://github.com/c9/core/blob/master/configs/api.standalone.js
from core.
@nightwing, that works for me. Thanks!
Is this going to get merged any time soon?
from core.
running node v0.10.36 Without removing api.standalone.js I get
{ [Error: Can't find './c9.api/ping.js' relative to '/root/c9sdk/plugins'] code: 'ENOENT' }
after removing I get this after loading the UI
[vfs-collab] Missing dependencies - NODE_PATH: /.nvm/v0.10.36/lib/node_modules; node v0.10.36
Cloud9 detected you are missing one or more collab dependencies. Would you like to open the installer to update to the latest version?
After pressing NO, I try to set it to PUBLIC and I get a prompt saying
The server returned an error
Please try again later.
from core.
I just share the link to the page I'm on. It's "public" as the page you are viewing when collab is enabled.
If I'm on localhost:8181, and I go to hydra:8181 from another computer on the same network, we're collaborating. Since PUBLIC is about authentication, and the SDK lacks the same authentication that c9.io has, it's moot.
from core.
@ClashTheBunny it is merged in a822db7
@Program3r this can happen if installation of sqlite3 fails. Did you see any errors while running install-sdk.sh, if no try running cloud9 with ~/.c9/node/bin/node server.js ...
from core.
I noticed sqlite3 gave me the error
version `GLIBC_2.14' not found
It compiled, but I wasn't happy with that so I upgraded libc6 and the error went away.
I'm always getting this error no matter what
Shuting down a faulty collab server - reason: { [Error: [vfs-collab] Missing dependencies
What OS are you installing on? or should it matter? - Debian Wheezy for me. Node 0.10.38
from core.
Strange it should have worked, do you have node_modules/pty.js and node_modules/sqlite3?
If no try running cloud9 with the node 0.12 installed by c9/install in ~/.c9 directory
something like
C9DIR="$HOME/.c9";
NODE_PATH="$C9DIR/node_modules";
"$C9DIR/node/bin/node" server.js -p 8181 -l 0.0.0.0 --collab -a :
from core.
I can not use collaborate, the IDE tell me that
[vfs-collab] Missing dependencies - NODE_PATH: /root/.c9; node v0.12.0
Cloud9 detected you are missing one or more collab dependencies. Would you like to open the installer to update to the latest version?
choose yes or no always do nothing .
I cheeked sqlite3 and pty.js is installed correctly.
NEED HELP!
from core.
I also am having problems.
[vfs-collab] Missing dependencies - NODE_PATH: /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript; node v0.10.38
Running on Ubuntu 14.10
EDIT:
I checked /usr/lib/node_modules
and pty didn't exist. I ran a sudo npm install pty
, and but it's still giving me the same error.
EDIT 2:
Solved. Using the install script puts node, and it's modules into ~/.c9/node
and ~/.c9.node_modules
respectively. I was able to get collaboration working with export NODE_PATH="/home/john/.c9/node_modules"
and ~/.c9/node/bin/node server.js --listen 0.0.0.0 -p 8181 -a admin:admin --collab
from core.
@master5227 : thanks I have tried your advise and the ide started
but I got some missing plugin
from core.
@master5227 : have you succeeded with the --collab to work ?
from core.
@master5227 I hv solved this problem, then how can I manager account on C9 local ?
from core.
@lijianying10 : you see some members on the collab panel , right ?
from core.
@romanman Not some member , Just ME....
from core.
so what server have you installed to manage this?@lijianying10
from core.
Ubuntu server 14.04
from core.
@lijianying10 : sorry, I mean what have you installed except the c9 sdk , what service
actually manage the members panel?
from core.
@romanman no other service, just Env value error.
do you know how to manage user ? add a new user on local c9 IDE?
from core.
Note. the missing depencies issue still seems to be happening. I tried both the bundled node 10.37 and the latest build of node v12. both have the same issue.
Tried manually installing sqllite globally via npm. to be told it was already installed via c9.io Im at a loss :/ Has anyone successfully got collab working on Ubuntu?
from core.
The issues were caused by mismatch between version of node used to install binary modules and to run sdk. Latest update fixes this by always using node from ~/.c9.
Please try again and let us know if it works.
from core.
Alright! I got the new code cloned in and whatnot. Looks like I still have to export the node path:
export NODE_PATH="$HOME/.c9/node_modules"
and I still have to remove this file
/configs/api.standalone.js
then I run it like stated above
~/.c9/node/bin/node server.js --listen 0.0.0.0 -p 80 -a admin:admin --collab
If I don't specify an auth method it seems to listen on 127.0.0.1, I'm not sure why. After that it looks like it works!
I will release a docker container with these fixes soon! Next thing we need to do is figure out how to hook it up to an auth system but that's kind of a different issue. Thanks for the help everyone!
from core.
@Program3r maybe something went wrong when updating, and you were testing old branch. there is no api.standalone.js file in https://github.com/c9/core/tree/master/configs
If I don't specify an auth method it seems to listen on 127.0.0.1, I'm not sure why. After that it looks like it works!
It is a security measure. If you don't want a password use -a :
.
from core.
Related Issues (20)
- Self hosted --collab share error
- Failed to install SDK in Mac OS 10.14.3 HOT 1
- Error creating TMUX session: Cannot read property 'on' of undefined HOT 3
- hide toolbar
- Full Java support?
- Is this project dead? HOT 9
- no more update? HOT 2
- Vulnerabilities
- Can i integrate cloud9 ace editor separately
- Fresh install - git extension not working
- List of flags HOT 2
- Connect to the IDE from a subdomain? HOT 2
- Require password to access Theia in browser?
- connect to SSH workspace from self hosted c9 SDK
- Error: Cannot find module 'c9/urls'
- Python 2 out of support. HOT 1
- Failed to write to 'state.settings'. options.stream must be readable. HOT 8
- How to delete cloud9?
- C9 Sudden stop,
- download and parse revision history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.