Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Error: File already exists. #14

Open
thaddeusalbers opened this issue Aug 15, 2013 · 7 comments
Open

Error: File already exists. #14

thaddeusalbers opened this issue Aug 15, 2013 · 7 comments

Comments

@thaddeusalbers
Copy link

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 calledfs.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 calledfs.exists`.

@raitucarp
Copy link

+1 same problem here

@jdutriaux
Copy link

I have the same issue.

Node version : 0.10.15

@desenmeng
Copy link

+1 👻

@rm3nchaca
Copy link

+1

1 similar comment
@harwalan
Copy link

+1

@TravisDart
Copy link

+1

The only way I found to fix this was to install using Node 0.8, then install again with Node 0.10, then run with node 0.10. Not sure why that worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants