timburgess / brackets-ftp-sync

FTP/SFTP for Adobe Brackets
105 stars 19 forks source link

Cannot find module 'event-stream'... #58

Closed oddpxl closed 9 years ago

oddpxl commented 9 years ago

Hi All,

Great plugin!!

Had a lot of love for it until this morning... ..when it started saying " Cannot find module 'event-stream' " instead of happily uploading... :(

I'm using Brackets Release 1.2 build 1.2.0-15697 (release 8f82e2a97) build timestamp: Sun Feb 22 2015 22:34:50 GMT-0800...on OSX 10.9.5 with Safari / Chrome / Firefox.

Tried re-installing the plugin twice, also went down one version...same problem...also re-installed Brackets...no luck.

Haven't really changed anything on my system so no idea why it stopped working.

Any ideas??

//O.

Christian1984 commented 9 years ago

Same here! I am also on 1.2.

kevinberonilla commented 9 years ago

I'm having the same exact issue. v1.2

timburgess commented 9 years ago

Thanks for the feedback. I'm looking into this to see if I can reproduce it.

juneodev commented 9 years ago

the same issue for me

kirkkhua commented 9 years ago

have same issue right now

victorlap commented 9 years ago

I have the same issue here, looks like a missing dependency.. Brackets version sprint 2 build 1.2.0-15697 (release 8f82e2a97) on WIndows 8.1 update 1

Pandawan commented 9 years ago

Same issue I'm on V1.2, MacOSX Yosemite if it helps

alexmasters commented 9 years ago

Same here, still an issue. Any news on whether this will be fixed soon? Or which versions to use instead?

Thanks.

IntellectProductions commented 9 years ago

Same issue...

stefsiekman commented 9 years ago

Same here...

leesaenz commented 9 years ago

Same issue. Mac OS X 10.10 Yosemite.

rolandlawrence commented 9 years ago

yip having the same error. Looks like its a great plugin for brackets 1.3. Alas no joy.

LouLeGrain commented 9 years ago

Same on brackets 1.3.0-16022 (release cd0a6aae5) on ubuntu 14.04

emresaracoglu commented 9 years ago

Same Issue (brackets 1.3 - windows 8.1)

AndersMoberg commented 9 years ago

I've also got this error. Brackets (using Windows 10): sprint 3 build 1.3.0-16022 (release cd0a6aae5) FTP-Sync: 2.0.3

tee-jaay commented 9 years ago

I having same error msg. :( Brackets version 1.3 in Linux Mint

deavy commented 9 years ago

Same issue

sprint 3 build 1.3.0-16022 (release cd0a6aae5) build timestamp: Fri Apr 24 2015 14:11:10 GMT+0100

Makosai commented 9 years ago

Same issue. v2.03 - Windows 8.1

towerrounder commented 9 years ago

Same issue here

ansonwolfe commented 9 years ago

Same issue.

Release 1.3 build 1.3.0-16022 (release cd0a6aae5) build timestamp: Mon May 11 2015 02:49:32 GMT-0700

arberpolis commented 9 years ago

same issue for me as well. Brackets Release 1.3 build 1.3.0-16022 (release cd0a6aae5)

joelamos commented 9 years ago

Same here.

Brackets: Release 1.3 build 1.3.0-16022 (release cd0a6aae5) FTP-Sync Plus: v 2.0.3

timburgess commented 9 years ago

I have updated the node module dependencies and this has fixed the event-stream issue I believe. There is a new 2.0.4 build zip file in the project root. Please try this and confirm that FTP works - I haven't seen the event-stream issue with this build. I would also be keen to get feedback on SFTP functionality as I have only done limited testing to date with SFTP.

pisandelli commented 9 years ago

2.0.4 Build is now working on Brackets 1.3.0-16022 (release cd0a6aae5) (Tested Just FTP) Ubuntu 15.04 64bit

Thanks!

timburgess commented 9 years ago

:+1:

joelamos commented 9 years ago

FTP working for me as well! Brackets: release 1.3 build 1.3.0-16022 (release cd0a6aae5) OS: Windows 8.1

timburgess commented 9 years ago

:+1: Please advise what OS and Brackets version you're using as well.

incredibleweirdo commented 9 years ago

2.0.4 Build working on Brackets 1.3.0-16022, Mac OS X 10.7.5.

kevinberonilla commented 9 years ago

OS X Yosemite with Brackets 1.3.0-16022 is now working correctly with the latest build you posted. Thanks for the fix!

stevebaxter commented 9 years ago

All working for me again - OS X 10.10 Brackets 1.3 build 1.3.0-16022. Thanks!!

ryanmcfall commented 9 years ago

I had this issue, and the 2.0.4 build fixed it.

Now I am trying to hack on the ftp-sync source code, and have this issue when using the version I've pulled from github. Here is what I have done

I have also tried:

In both cases, I get the unable to load event-stream module error.

FWIW:

Any ideas?

timburgess commented 9 years ago

In src/node/node_modules, there is a jsftp directory. jsftp is one of the dependencies that ftp-sync has. You will need to cd to the jsftp directory and in there, run npm install to install the modules that jsftp itself it dependent upon.

Thanks for trying the code out!

ryanmcfall commented 9 years ago

@timburgess - Thanks, running npm install in the jsftp directory did the trick.

Just so you know, I am playing around with caching the last upload date of files, so that when the synchronization occurs, only a local date check needs to be done for files that haven't been modified since the last sync. For large projects, I suspect this will significantly speed up the time that it takes to sync.

timburgess commented 9 years ago

Good one. At the time of adding jsftp, I hesitated adding it's dependencies to the repo as there are a huge number. I'm thinking now that I may as well add them anyway - it's not like they will change and it won't make the end .zip file any bigger.