阅读背景:

新安装的Cloud9 ide上缺少文件或插件?

来源:互联网 

I'm currently trying to set up cloud9 on my debian server for node.js development. I followed some simple steps as described below, but there seems to be missing something and I would like to know how this can be resolved in the best way. Of course, I could start looking for the missing file on the web and put it there, but I think that's not the way to go.

我目前正在尝试在我的debian服务器上为node设置cloud9。js开发。我遵循了下面描述的一些简单步骤,但是似乎缺少了一些东西,我想知道如何以最好的方式解决这个问题。当然,我可以开始在网上查找丢失的文件并将其放在那里,但我认为这不是正确的方法。

What I did is this:

我所做的是:

  1. ssh'ed into my Debian server into my home folder
  2. ssh到我的Debian服务器到我的家庭文件夹。
  3. sudo git clone https://github.com/c9/core.git sdk (completed succesfully)
  4. sudo git克隆https://github.com/c9/core.git sdk(成功完成)
  5. cd sdk
  6. cd sdk
  7. sudo ./scripts/install-sdk.sh
  8. sudo /脚本/ install-sdk.sh

The installation finishes like this:

安装完成如下:

Success!
run 'node server.js -p 8080 -a :' to launch Cloud9

When I then start up the IDE with this command:

当我用以下命令启动IDE时:

node server.js -p 1234 -l 0.0.0.0 -a rob:mypass -w /home/rob/myproject/

...everything looks good:

…一切看起来不错:

Starting standalone
Connect server listening at https://x.x.x.x:1234
Using basic authentication
CDN: version standalone initialized /home/rob/sdk/build
Started '/home/rob/sdk/configs/standalone' with config 'standalone'!
Cloud9 is up and running

and I can basically reach the IDE from my local browser. The problem is that it stops on the welcome screen with this loading indicator in the middle right under the cloud9 logo. The JS console shows a missing file (I've replaced my real URL):

我基本上可以通过本地浏览器访问IDE。问题是,它在欢迎屏幕上停止,在cloud9标识下的中间有一个装载指示器。JS控制台显示一个丢失的文件(我替换了我的真实URL):

https://myserver.de:1234/static/plugins/c9.ide.collab/notifications/bubble.js Failed to load resource: the server responded with a status of 404 (Not Found)

I then looked into the folder /home/rob/sdk/plugins/c9.ide.collab/, but it is empty.

然后我查看了文件夹/home/ rob/sdk/plugins/c9.ideted。collab/,但它是空的。

What am I missing? Do I need to install something with npm or do I have to change the package.json file somehow? I'd really appreciate some help because I think wildly modifying and copying in files won't make things better.

我缺少什么?我需要在npm上安装什么东西,还是需要更改包。json文件吗?我非常感谢您的帮助,因为我认为在文件中疯狂地修改和复制不会使事情变得更好。

1 个解决方案

#1


3  

edit: It turns out it was "bug in the script updating references [of some plugins]". Details: https://github.com/c9/core/pull/365

编辑:原来是“脚本更新引用[一些插件]的bug”。详细信息:https://github.com/c9/core/pull/365。

—Cheers!

干杯!

Original answer: I think think the c9.ide.collab plugin's refspec is wrong here: https://github.com/z3cka/core/commit/5f45ea38f422160a0030c5ef8d1efb19231bc78c#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

原答:我认为是c9 ide。collab插件的refspec在这里是错误的:https://github.com/z3cka/core/commit/5f45ea38f422160a0030c5efb19231bc78c7f4b91a7f4b91a753d10865a2。

I changed it back to #54aa1cbee0, ran the install-sdk.sh and it grabbed the latest version of the collab plugin. While prepping a PR, I just found 3 more plugins with bad refspecs

我将它更改为#54aa1cbee0,运行了安装sdk。sh和它抓住了collab插件的最新版本。在准备PR的时候,我又找到了3个插件,但是改装的很糟糕

  • c9.ide.language
  • c9.ide.language
  • c9.ide.language.javascript.eslint
  • c9.ide.language.javascript.eslint
  • c9.ide.run.debug
  • c9.ide.run.debug

I'm currently working on a fix for the rest of these.

我目前正在为剩下的部分做修正。


分享到: