decosoftware / deco-ide Goto Github PK
View Code? Open in Web Editor NEWThe React Native IDE
Home Page: https://www.decosoftware.com/
License: GNU Affero General Public License v3.0
The React Native IDE
Home Page: https://www.decosoftware.com/
License: GNU Affero General Public License v3.0
I just set up a project using ignite for react-native but deco does not seem to work well using genymotion emulator.
This is what happens:
$HOME/Library
)react-native run-android
inside the project folderThe moment i open deco watchman loses its connection and everything crash
[sane] Warning: Lost connection to watchman, reconnecting..
[sane] Warning: Lost connection to watchman, reconnecting..
2016-05-31T15:06:49,203: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-31T15:06:49,204: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/HEAD/var/run/watchman/voodo-state/sock! (Undefined error: 0)
2016-05-31T15:06:49,203: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-31T15:06:49,205: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/HEAD/var/run/watchman/voodo-state/sock! (Undefined error: 0)
Watchman: watchman--no-pretty get-sockname returned with exit code 1 2016-05-31T15:06:49,203: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-31T15:06:49,204: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/HEAD/var/run/watchman/voodo-state/sock! (Undefined error: 0)
ERROR watchman--no-pretty get-sockname returned with exit code 1 2016-05-31T15:06:49,203: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-31T15:06:49,204: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/HEAD/var/run/watchman/voodo-state/sock! (Undefined error: 0)
Error: watchman--no-pretty get-sockname returned with exit code 1 2016-05-31T15:06:49,203: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-31T15:06:49,204: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/HEAD/var/run/watchman/voodo-state/sock! (Undefined error: 0)
at ChildProcess.<anonymous> (/Users/voodo/Development/tbpclient/node_modules/fb-watchman/index.js:198:18)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12)
If you start a new Deco project, and use Command + R, simulator will launch but the packager is not running. No packager output. Red screen on simulator due to no packager.
Clicking the Simulator button and selecting a device will cause packager to run normally.
tyler in Slack reported this issue and I was able to reproduce.
Hi
Components could include a name that can be displayed in the properties so if more than one textview is available you can recognise them
Doing this would make it easier to find iOS and Android specific components with respective tags, as well as help with categorization
Previously I was developing with the facebook developed react-native cli tools which used watchman for starting react-native applications. Shortly after installing Deco, I attempted to use these tools to demonstrate previous React-Native Implementations but I keep getting errors similar to this now.
`Error: watchman--no-pretty get-sockname returned with exit code 1 2016-05-27T09:22:33,591: [cli] failed to identify PDU: fill_buffer: EOF
at ChildProcess. (/Users/josh.goforth/React-Native/Zebreto/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:198:18)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:821:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)`
Any idea what might have changed in my watchman configuration? I have tried nuking it but to no avail
I'd like to know why the installation requires admin rights and if it's possible to remove the requirement.
Thanks.
Super excited to get the download today! But then bummed that my RN android app apparently isn't supported.
Any plans for this?
To switch between files within the project. Usually it goes with input text and list (filter), so i could quickly type first few chars and select that file from the list to open
Hi,
Would be nice to be able to choose the embedded editor or at least right click on a file and OPEN IN for example
What is the embedded editor ? Is it ATOM ? Can we add additional plugins ?
But great what I see so far!
Any chance this will be distributed on windows?
Like in other IDE, like SublimeText with Cmd + Shift + /
Michals-MacBook-Pro:web michaltakac$ bundle install
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Installing sass 3.4.9
Installing hitimes 1.2.2 with native extensions
Installing chunky_png 1.3.3
Installing multi_json 1.10.1
Installing rb-fsevent 0.9.4
Installing ffi 1.9.6 with native extensions
Installing json 1.8.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/michaltakac/.rvm/gems/ruby-2.3.0/gems/json-1.8.1/ext/json/ext/generator
/Users/michaltakac/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160525-3286-dnraov.rb extconf.rb
creating Makefile
current directory: /Users/michaltakac/.rvm/gems/ruby-2.3.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /Users/michaltakac/.rvm/gems/ruby-2.3.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:47: error: too few arguments provided to function-like macro invocation
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^
/Users/michaltakac/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/intern.h:797:9: note: macro 'rb_str_new' defined here
#define rb_str_new(str, len) __extension__ ( \
^
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:11: warning: incompatible pointer to integer conversion initializing 'VALUE' (aka 'unsigned long') with an expression of type 'VALUE (const char *, long)' (aka 'unsigned long (const char *, long)') [-Wint-conversion]
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^ ~~~~~~~~~~
1 warning and 1 error generated.
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/michaltakac/.rvm/gems/ruby-2.3.0/gems/json-1.8.1 for inspection.
Results logged to /Users/michaltakac/.rvm/gems/ruby-2.3.0/extensions/x86_64-darwin-15/2.3.0/json-1.8.1/gem_make.out
Using thor 0.19.1
Using bundler 1.12.5
Installing sassy-maps 0.4.0
Installing compass-import-once 1.0.5
Installing sass-css-importer 1.0.0.beta.0
Installing susy 2.1.3
Installing timers 4.0.1
Installing compass-core 1.0.1
Installing rb-inotify 0.9.5
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
After adding this line to Gemfile:
gem 'json'
...the problem goes away. Will request pull with fix.
Issue described in the title.
Hope it can be fixed.
@auser Keep us posted :)
console
do not scroll down automatically now, but I think it's better to have switch
button to switch the log scrolling state, or just let it scroll down like terminal.Clear
button and Filter
button just like Chrome Console, which will make the Console more powerful.Hope it' helps :)
Hi!
While installing the IDE I've face the following problems: cyrillic text in Mac OS Finder or in menus transformed into "brackets": http://imgur.com/uhbkQp4. My system language is Russian so all the Russian texts in Finder and in system menus became unreadable.
Also all files names on SSD renamed into strange names - for example, Screenshot 2016-05-26 18.10.12 is looks like "s2 1 211 12g". But when I try to rename the files it's show it's real name, not the "s2 1 211 12g".
Can you help me with this problems?
I have not (yet) tried deco-ide, so I am writing this based only on a really appealing website and cool looking product. That is sufficient to ask whether you would be interested in working with us (Aurelia-UI-Toolkits and Aurelia-Tools) on creating the Aurelia IDE?
We are internally discussing Aurelia IDE for the longest time, using the identical approach you took and given the fact that you support the open source model, a well made Aurelia IDE could only help your efforts (unless there are some aspects of your business plan that I am not aware of :0-)
I'm on OS X El Capitan and Deco had installed via an installer so I'm not sure if just deleting Deco.app
will suffice. What do I need to remove in order to uninstall completely? Is there any uninstaller I'm missing?
Should overall be pretty easy
Only complication I imagine: properties which have been added to the inspector are styled specially and will screw everything up. I hope to revisit how these work soon.
After i clicked one simulator, red box appeared in simulator which shows "could not connect to development server". Bellow are console error info in packager output:
┌────────────────────────────────────────────────────────────────────────────┐
│ Running packager on port 8081. │
│ │
│ Keep this packager running while developing on any JS projects. Feel │
│ free to close this tab and run your own packager instance if you │
│ prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/Users/lizenghui/.Deco/tmp/Project
[11:25:02 AM] Building Dependency Graph
[11:25:02 AM] Crawling File System
[Hot Module Replacement] Server listening on /hot
React packager ready.
2016-05-27T11:25:02,749: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-27T11:25:02,749: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/lizenghui-state/sock! (Undefined error: 0)
/Users/lizenghui/Library/LaunchAgents/com.github.facebook.watchman.plist: service already loaded
2016-05-27T11:25:02,748: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-27T11:25:02,749: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/lizenghui-state/sock! (Undefined error: 0)
Watchman: watchman--no-pretty get-sockname returned with exit code 1 /Users/lizenghui/Library/LaunchAgents/com.github.facebook.watchman.plist: service already loaded
2016-05-27T11:25:02,748: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-27T11:25:02,749: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/lizenghui-state/sock! (Undefined error: 0)
ERROR watchman--no-pretty get-sockname returned with exit code 1 /Users/lizenghui/Library/LaunchAgents/com.github.facebook.watchman.plist: service already loaded
2016-05-27T11:25:02,748: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-27T11:25:02,749: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/lizenghui-state/sock! (Undefined error: 0)
Error: watchman--no-pretty get-sockname returned with exit code 1 /Users/lizenghui/Library/LaunchAgents/com.github.facebook.watchman.plist: service already loaded
2016-05-27T11:25:02,748: [cli] failed to identify PDU: fill_buffer: EOF
2016-05-27T11:25:02,749: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/lizenghui-state/sock! (Undefined error: 0)
at ChildProcess.<anonymous> (/Users/lizenghui/.Deco/tmp/Project/node_modules/fb-watchman/index.js:198:18)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:827:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
Anyone come across this kind of situation?
I can't install via the downloaded pkg, and when I try to manually install, I get errors that json 1.8.1 was not installed properly when running bundle install
and found this as a fix http://stackoverflow.com/questions/29578142/how-to-install-json-gem-failed-to-build-gem-native-extensionmac-10-10
which I'd rather not do. I can install json 1.8.2 gem just fine by the way.
For example, click name of component to go to where the component is defined.
Requested by aksonov in Slack.
Is there a reason why Scripts/postinstall isn't allowed to be run as root?
I'm trying to create a homebrew-cask for Deco and installation is failing because homebrew-cask uses /usr/sbin/installer
, which in turn must be run as root.
We are improperly importing "shell" from Electron. Bad line is on templateBuilder.js:177
Both buttons on the installer are disabled when I run it http://i.imgur.com/9L59XwB.png Am I the only one experiencing that?
Switched to travis-ci.org and now the secret keys aren't working (again). Putting this here to track... This issue is a blocker for the next version of Deco.
Is Deco supposed to work out the box with existing projects or do some changes have to be made first like adding a <View>
wrapper container?
This one would be pretty easy for somebody to help with.
The current console UI kind of sucks: it's just a giant div
that we stuff text in. We should try to use a terminal emulator.
This task is a prerequisite for being able to type back into the console (currently is read-only), and being able to search console output.
How to improve it?
Consider using https://github.com/sourcelair/xterm.js, the actively maintained fork of termjs.
This should fix text-wrapping, scrolling, and probably performance (although we may also want to batch text output into the console). It will set us up to be able to run commands via the console and search console output.
When I start a new project everything works fine, but if I open an existing project the Project explorer is blank and I can't open any files.
Maybe we could specify npm registry to speed up installation process?
This one is really fast with CDN support in China, while npm is a little bit slow. We get accustomed to using it.
https://cnpmjs.org/
Thanks.
As a workaround for people who need to run their project outside of Deco, we suggest using Deco as editor only. But in the current version, it aggressively starts watchman which can conflict with running watchman externally.
Can we have a mode to disable watchman / use external watchman? @gdowens
Making new project and Saving Project As is referring only to folder name. All the rest (package.json, iOS/Android Project name) is still using 'Project' string.
Would be cool if it was associated with project name or if we could update that from single entry point (like Project Properties or something on that note).
It would be nice to have more control over the workspace i.e. I'd love to be able to view/hide components section in order to give my file tree more space, as well as resize console window and perhaps rearrange buttons in main toolbar.
Is this something we can expect in future releases? Great product by the way guys, really looking for this to mature into an awesome ide :)
If you are trying to launch the simulator for an existing project and it is not launching
Since there is no feedback, the issue is non-obvious. Tracking the issue here.
Currently does nothing...
Some work toward this milestone can be followed in #4 as well.
hello! after I found it, it surprise me!!
But I want to know how to adjust tab size in text editor
Thanks!
What's the role of the Deco
binary? Is the source for it available?
Full disclosure: I'm attempting to run Deco in Linux.
For regular JS classes as well for React Components.
Moving the discussion here from #4
Right now the installers Scripts/postinstall
script does a lot of weird, semi-intrusive stuff. It would be better if we could achieve the same outcome (of bringing in node, watchman, setting up folders, etc) in a way that minimally impacts the system and reduces the work necessary to support all operating systems.
If we modify a file externally, the content of that file in Deco will not be changed at the same time, while other IDEs or text editors will. Should we fix it?
Dragging in a component from the sidebar - you can move up the editor to place the component, but you cannot move down.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.