在Google App Engine上设置AppRTC(WebRTC)

时间:2015-04-16 11:31:55

标签: node.js google-app-engine webrtc

我无法在Google App Engine上设置WebRTC。以下是我在Google App Engine项目中部署webrtc应用程序时执行的步骤。

  1. 在我的本地系统上克隆https://github.com/webrtc/apprtc
  2. 将app.yaml从apprtc / src / app_engine /复制到本地存储库的根文件夹
  3. 已编辑app.yaml [Set" application"到我的appid" ckwebrtc"在Google App Engine上]
  4. npm install
  5. grunt build
  6. appcfg.py --oauth2 update
  7. 但我得到了" 500服务器错误 - 服务器遇到错误,无法完成您的请求"。

    网址 - https://ckwebrtc.appspot.com/

    请帮助

    更新:这是我得到的错误:

    2015-04-16 22:34:26 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--oauth2', 'update', u'C:\\xampp\\htdocs\\heroku\\ckwebrtc']"
    10:34 PM Application: ckwebrtc; version: 2
    10:34 PM Host: appengine.google.com
    10:34 PM Starting update of app: ckwebrtc, version: 2
    10:34 PM Getting current resource limits.
    10:34 PM Scanning files on local disk.
    10:34 PM Scanned 500 files.
    10:35 PM Scanned 1000 files.
    10:35 PM Scanned 1500 files.
    10:35 PM Scanned 2000 files.
    2015-04-16 22:36:05,130 ERROR appcfg.py:1925 Invalid character in filename: node_modules/grunt-htmlhint/node_modules/htmlhint/node_modules/jshint/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped 
    10:36 PM Scanned 2500 files.
    10:36 PM Scanned 3000 files.
    10:36 PM Scanned 3500 files.
    10:36 PM Scanned 4000 files.
    10:36 PM Scanned 4500 files.
    10:36 PM Scanned 5000 files.
    10:36 PM Scanned 5500 files.
    2015-04-16 22:36:55,687 ERROR appcfg.py:2454 An error occurred processing file '': [Error 3] The system cannot find the path specified: 'C:\\xampp\\htdocs\\heroku\\ckwebrtc\\node_modules/grunt-closurecompiler/node_modules/closurecompiler/node_modules/tar/node_modules/fstream/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/*.*'. Aborting. 
    Traceback (most recent call last):
      File "C:\Program Files\Google\google_appengine\appcfg.py", line 133, in <module>
      run_file(__file__, globals())
      File "C:\Program Files\Google\google_appengine\appcfg.py", line 129, in run_file
      execfile(_PATHS.script_file(script_name), globals_)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5468, in <module>
      main(sys.argv)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5459, in main
      result = AppCfgApp(argv).Run()
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3019, in Run
      self.action(self)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5115, in __call__
      return method()
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3853, in Update
      self._UpdateWithParsedAppYaml(appyaml, self.basepath)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3906, in _UpdateWithParsedAppYaml
      self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3791, in UpdateVersion
      return appversion.DoUpload(paths, openfunc)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2445, in DoUpload
      self._AddFilesThatAreSmallEnough(paths, openfunc)
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2537, in _AddFilesThatAreSmallEnough
      for path in paths:
      File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2680, in FileIterator
      entries = set(os.listdir(os.path.join(base, current_dir)))
    WindowsError: [Error 3] The system cannot find the path specified: 'C:\\xampp\\htdocs\\heroku\\ckwebrtc\\node_modules/grunt-closurecompiler/node_modules/closurecompiler/node_modules/tar/node_modules/fstream/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/*.*'
    2015-04-16 22:36:55 (Process exited with code 1)
    You can close this window now.
    

0 个答案:

没有答案