Nodeclipse plugin for NodeJS development in Eclipse - javascript

Upon searching on the internet, I found out that nodeclipse plugin for NodeJS development in Eclipse. I have tried to install it but I keep getting this error:
Unable to read repository at http://www.nodeclipse.org/updates/.
http://www.nodeclipse.org/updates/ is not a valid repository location.
http://nodeclipse.org/ is also not available.
I have tried Enide also but it is also showing the same error.
Can anyone tell me a good platform for NodeJS development or how to install nodeclipse.

It looks like http://nodeclipse.org/ isn't reachable, but http://www.nodeclipse.org/ is. Have you tried that?

Nodeclipse site was unavailable for few days.
Anyone can download offline packages from http://sourceforge.net/projects/nodeclipse/files/
or raise an issue at https://github.com/Nodeclipse/

Related

getting jdk and intellicode errors in vs code. how do i fix it?

I am a very early beginner to coding. I downloaded VS Code so that I could, you know, have somewhere to code in Java. However, I keep getting these two errors telling me these two extensions that I already have installed on VS Code are not working here are the error messages. I already searched through the odds and ends of StackOverflow and have tried everything, and nothing has worked. Any help would be appreciated.
I inputted some code into settings.json under a "java.configuration.runtimes" thing but nothing in it worked. I conformed it to my installation directories and current Java version
Do you have a JDK (Java Development Kit) installed?
If you are on Windows, you can check by clicking on the start button, and search through applications and programs for a Java folder.
If you are on MacOS or Linux, you can open up the terminal/command line and type in "java -version" and if it is properly installed, it will display the version.
If you do not find a JDK installed, install one from https://www.oracle.com/ca-en/java/technologies/downloads/
Download and install the Coding Pack for Java.
It would be helpful to follow this documentation to get started.

Live Server vs Lite Server

Just starting with JavaScript. Do I have to have Lite Server or can I use VS Code's Liveserver extension instead? Any research I've done on the topic leads into node.js, package.json, and NPMs which I don't understand.
If Lite Server is needed, do you install it through terminal/command line or do you have to install it in the html document you want to apply it to? Thanks.
They are both pretty similar and for your purposes, VSCode's Live server will work fine for you especially if you are not familiar with npm, node, and do not have a package.json.
If you would like to learn more about npm and what a package.json is check this out.

Error [ERR_MODULE_NOT_FOUND]: Cannot find module... during DigitalOcean App Platform deployment

I'm trying to deploy my node js backend to DigitalOcean with their App Platform with Github.
I tried many things but still don't work yet.
I get this error :
I suppose it can ben because of type module from es6 but localy it work perfectly fine...
Every files are in good folders in my repo in Github so I don't understand why I still get this error...
And this error occur with others controllers/models too, changing each deployment...
This is my first true deployment for a customer and I really need help :-)
Thanks !

Integrating jsLint into BBEdit

How do I incorporate jsLint into BBEdit?
Environment:
OSX Mountain Lion
BBEdit 10.1.2 (3152)
I installed Node.js (0.8.14) and ran
sudo npm install -g jslint
I am able to run jslint from the command line by running
jslint [filepath/]filename
I found a tutorial that seems to explain how to connect jsLint to BBEdit; however, I have never written an AppleScript and have no idea where to start.
Any guidance would be much appreciated.
UPDATE
I loaded the AppleScript from the tutorial into the AppleScript Editor Application and ran it.
I'm now getting the following error message:
Can’t get paragraphs 3 thru -1 of "Can’t make POSIX path of missing
value into type Unicode text.".
I found the problem. I am using the BBEdit FTP browser and working directly off the server. This was causing problems with the file path that the AppleScript was relying on.
A short-term solution is to work on the file locally and then upload it when complete.
The better solution would be to mount the server as a drive. This would provide the most functionality with the greatest ease of use.

Problems with Rails and JavaScript runtime on Windows machine

I am currently in a web development class and we are using Ruby on Rails.
I am using Ruby v1.9.2 and Rails v3.1.1.
My initial problem started when I tried to execute 'rails server'.
I would get the following error:
C:\Sites\rorProjects\basicRoRProject>rails server
C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/execjs-1.2.13/lib/execjs/runtimes.rb:47:in `autodetect': Could not find a JavaScript runtime.
See https://github.com/sstephenson/execjs for a list of available runtimes.(ExecJS::RuntimeUnavailable)
I have done some reading and the general consensus is to install the gems 'execjs' and 'therubyracer'. 'execjs' installed just fine, however when I tried to install 'therubyracer' I got the following error:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby1.9.2/bin/ruby.exe extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.
Check the mkmf.log file for more details.
You may need configuration options.
I then did some more reading and found a couple of people said to check that they had the gem 'libv8', which was required for 'therubyracer'. I did that and discovered that I didn't have it, so I then went to install that and got the same error that I did for 'therubyracer'.
I'm at a loss to think of anything else to do. Any help would be greatly appreciated.
Thanks guys!
THIS PROBLEM HAS BEEN SOLVED.
So, with the help of one of my classmates who had a similar problem, I installed Node.js using the Windows installer (this gave me a JavaScript run-time environment). I then added it to the path in the local variables.
So, with the help of one of my classmates who had a similar problem, I installed Node.js using the Windows installer. I then added it to the path in the local variables.

Categories