-
Notifications
You must be signed in to change notification settings - Fork 39
Error: File already exists. #14
Description
When installing c9 (see https://github.com/ajaxorg/cloud9/issues/2905) vfs-local causes a "File already exists" error when running cloud9/bin/cloud9.sh.
Error: File already exists.
at /home/thaddeus/cloud9/node_modules/vfs-local/localfs.js:678:35
at Object.cb as oncomplete
Error: File already exists.
at /home/thaddeus/cloud9/node_modules/vfs-local/localfs.js:678:35
at Object.cb as oncomplete
[CLIENT ERROR] { agent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36',
type: 'C9 SERVER EXCEPTION',
message:
{ type: 'error',
sid: -1,
code: 500,
message: 'File already exists.' } }
It may be due to changes from path.existsSync to fs.existsSync and from path.exists to fs.exists.
(see warnings below)
~/cloud9/bin/cloud9.sh
make: Nothing to be done for update'. Linux 64 bit path.existsSync is now called
fs.existsSync. connect plugin start Connect server listening at http://localhost:3131 IDE SERVER PLUGIN: auth IDE SERVER PLUGIN: git IDE SERVER PLUGIN: gittools IDE SERVER PLUGIN: hg IDE SERVER PLUGIN: npm IDE SERVER PLUGIN: filelist IDE SERVER PLUGIN: search IDE SERVER PLUGIN: revisions IDE SERVER PLUGIN: settings IDE SERVER PLUGIN: shell IDE SERVER PLUGIN: state IDE SERVER PLUGIN: watcher IDE SERVER PLUGIN: node-runtime IDE SERVER PLUGIN: npm-runtime IDE SERVER PLUGIN: python-runtime IDE SERVER PLUGIN: apache-runtime IDE SERVER PLUGIN: ruby-runtime IDE SERVER PLUGIN: php-runtime IDE SERVER PLUGIN: other-runtime Started '/home/thaddeus/cloud9/configs/default'! IDE server initialized. Listening on localhost:3131 path.exists is now called
fs.exists`.