soliton4 / nodemirror Goto Github PK
View Code? Open in Web Editor NEWnode.js + CodeMirror = powerful ide
License: Other
node.js + CodeMirror = powerful ide
License: Other
Hi, I have installed node mirror on a clean ec2 ubuntu image as follows.
sudo apt-get update
sudo apt-get install -y nodejs-legacy npm
sudo npm install node-gyp node-mirror
Launched using:
sudo node node_modules/node-mirror/bin/nodeMirror.js --port 3000 --dir /home/mondus --username mondus --password mypassword
The terminal module works correctly but the file view is stuck saying Opening ...
. There is no error from the server. I have noticed that a previous issue suggested that the --dir
argument should be an absolute path which I am specifying correctly. Any ideas?
please test nodemirror on different windows installations. especially the terminal module.
i only have one windows machine to test on and its a crappy developer installation.
i wonder if it runs everywhere as smooth as on my machine.
This is a feature request to have automatic code style checking and auto-formatting in the JS file editor that node-jscs can provide.
Files ending in .cuf are a type of Fortran file. Is it possible to have them highlighted like .f90 files?
If a file is read-only and you hit save, the "*" goes away, but there is no error and nothing is saved.
I have some problems building with the bits from 03/22/14.
This is what I do (worked earlier on older releases):
git clone https://github.com/soliton4/nodeMirror.git
cd nodeMirror
git submodule init
git submodule update
npm install
cd build
./build.sh
java is installed. Not sure what I am missing...Any advice greatly appreciated.
That's what I get:
mkdir: cannot create directory ‘../release’: File exists
server build
cp: target ‘../src/util/build/plugins/’ is not a directory
./build.sh: line 13: ../src/util/buildscripts/build.sh: No such file or directory
client build
./build.sh: line 19: ../src/util/buildscripts/build.sh: No such file or directory
copy
cp: cannot stat ‘../release/client/dojo/dojo.js’: No such file or directory
cp: cannot stat ‘../release/client/dojo/dojo.js.map’: No such file or directory
cp: cannot stat ‘../release/client/dojo/dojo.js.uncompressed.js’: No such file or directory
cp: cannot stat ‘../release/client/dojo/nls’: No such file or directory
cp: cannot stat ‘../release/client/dojo/resources’: No such file or directory
cp: cannot stat ‘../release/client/dojo/selector’: No such file or directory
cp: cannot stat ‘../release/client/dgrid/css’: No such file or directory
cp: cannot stat ‘../release/client/dijit/nls’: No such file or directory
cp: cannot stat ‘../release/client/dijit/icons’: No such file or directory
cp: cannot stat ‘../release/client/dijit/themes’: No such file or directory
cp: cannot stat ‘../src/dojo/nls’: No such file or directory
cp: cannot stat ‘../src/dojo/_base’: No such file or directory
cp: cannot stat ‘../src/dojo/errors’: No such file or directory
cp: cannot stat ‘../src/dojo/promise’: No such file or directory
cp: cannot stat ‘../src/dojo/aspect.js’: No such file or directory
cp: cannot stat ‘../src/dojo/Deferred.js’: No such file or directory
cp: cannot stat ‘../src/dojo/dojo.js’: No such file or directory
cp: cannot stat ‘../src/dojo/Evented.js’: No such file or directory
cp: cannot stat ‘../src/dojo/has.js’: No such file or directory
cp: cannot stat ‘../src/dojo/json.js’: No such file or directory
cp: cannot stat ‘../src/dojo/on.js’: No such file or directory
cp: cannot stat ‘../src/dojo/sniff.js’: No such file or directory
cp: cannot stat ‘../src/dojo/when.js’: No such file or directory
cp: cannot stat ‘../src/dojo/topic.js’: No such file or directory
cp: cannot stat ‘../release/client/dojox/editor/plugins/resources’: No such file or directory
cp: cannot stat ‘../release/client/jshint/jshint.js’: No such file or directory
cp: cannot stat ‘../release/server/server/server.js’: No such file or directory
cp: cannot stat ‘../release/client/style/style.css’: No such file or directory
cp: omitting directory ‘../src/image/cursor’
cp: omitting directory ‘../src/image/logo’
cp: omitting directory ‘../src/image/screenshots’
cp: cannot stat ‘../release/client/avc/Avc.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/avc-codec.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/canvas.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/glUtils.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/util.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/sylvester.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/Wgt.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/worker.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/workeravccodec.js’: No such file or directory
cp: cannot stat ‘../release/client/avc/workerutil.js’: No such file or directory
Following the installation instructions in Usage the editor does not load any files as shown in the picture
Same result for Redhat 7 and Ubuntu 14.04.
I expected something like the first picture in the Screenshot section.
Are there any steps missing in the installation manual?
In most programs with a project explorer, the files are listed underneath the folder. In NodeMirror, it's not clear that you have to click on a folder in order to see the files in the big pane on the right.
Again, just a feature request, doesn't affect the ability to use the program!
I found these free icons. I thought you might find them useful for the next version of nodeMirror.
http://fontawesome.io/icons/
Currently, there is no way to paste from clipboard into the terminal window command prompt.
Hi, nodeMirror is great project, I just looked how it works on linux, it's amazing :).
The most exiting is terminal, which could be re sized in any way, and even synchronized across tabs. I work on similar project and have problem with pty maybe you could help me with. I wrote author of this module (with pull requrests), but he must be to busy.
The thing is, when I use terminal for just typing commands everything good, but when I try to start mc
error occurs and all screen looks corrupted. I saw that rows and cols count is some how changes to 24 80. But I could not understand how and where it could be.
There is sourceses for client and server
I will be grateful for your advice.
It'd great if we could load nodeMirror from a sub-directory of the URL, for example: http://www.myurl.com/editor1, http://www.myurl.com/editor2, etc...
Cloud9 also has this problem and it's because they assumed in a lot of the JavaScript and other places that the href should start from the absolute root / instead of a relative address.
If you can fix this, will give you a big leg up over Cloud9.
i am testing in chrome and firefox
test reports from ie and other browsers are welcome!
If I issue an "exit" command in the terminal, the terminal windows doesn't close. What's the proper way of closing terminal windows?
Please create a docker image.
It will a useful feature to deploy nodeMirror into docker containers, especially to edit other containers shared configurations. Deploying the image to NAS will add us a possibility to edit files remotely via a web interface.
Hi to let you know that I'm getting these warning messages when doing a fresh install of node-mirror. Maybe we could bump the packages versions???
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm WARN deprecated [email protected]: 0.0.1
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Best
When NodeMirror is first loading, the user is just presented with a white page. This canbe confusing not knowing what's going on. Would be nice to immediately put up a static page saying that NodeMirror is loading.
This is low priority feature request.
The active blue line will highlight a line different from where the cursor is currently at.
If you need a video, let me know. I was unable to reproduce this in Chrome or Firefox - myself and another person reproduced the IE10 bug, so not just my system.
root@ajmal017:~# npm install node-mirror npm ERR! Error: ENOSPC, open '/root/.npm/d3504479-node-mirror.lock'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! System Linux 2.6.32-042stab081.8
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "node-mirror"
npm ERR! cwd /root
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path /root/.npm/d3504479-node-mirror.lock
npm ERR! code ENOSPC
npm ERR! errno 54
npm ERR! Error: ENOSPC, open 'npm-debug.log'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! System Linux 2.6.32-042stab081.8
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "node-mirror"
npm ERR! cwd /root
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! path npm-debug.log
npm ERR! code ENOSPC
npm ERR! errno 54
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
i just started a 0.2.x branch
i will reimplement most of the backend
go cracy about feature requests.
if you have frontend ideas feel free to try them out on the 0.2.x basis
i am not married to @dojo btw ;)
I would like to know how we can auto start nodeMirror on system restart or keep it forever alive..
I tried putting the command in etc/rc.local - used forever also.. but without success
node node_modules/node-mirror/bin/nodeMirror.js --port 3000 --dir /home/sol/projects --username sol --password mysupersecretpassword
is what I used...
It would be better if it is inbuild in the nodemirror app.. as that is what a developer needs.. a default user name and password with the option to update them later..
since @iojs seems to be the future of things, why not make a fork called iojsMirror
how about creating a logo with io as background
http://www.popsci.com/science/article/2012-03/today-space-images-greenish-blistery-surface-io
Love your x11terminal forwarding and started playing with it, but I do have problems building it.
Do I miss something ?
I'd like a way to disable the Terminal button, especially since it's not obvious how to close a terminal once it's open. Is there a elegant or hacky way to do this?
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.