could not open a nodejs project in intellij phpstorm and idea - node.js

Although I have installed the nodejs plugin in phpstorm IDE I cannot separately open a nodejs project.But I can open an empty project and run nodejs codes in there.
The main reason is to have the separate folder structure for nodejs project(specially when creating a nodejs express project).
Additionally, I cannot install the nodejs plugin in the IDEA too.
I have gone through their documentation but I couldn't find a solution to this.
Please help me with this.
Note:
Phpstorm version - 8.01
IDEA version - 2016.2.04

Related

Visual Studio Installer is not installing node.js

In Visual Studio Installer, I selected the Node.js development option. It runs successfully. But, if I try to run cmd node -v. It tells me node does not exist.
I tried a few other things including uninstalling and reinstalling the Node.js development option in VS Installer. Plus installing the latest version of node from the website.
However, when I try to run the pre-packed Angular solution that comes with VS 2017 I have issues. The solution will not even start.
The best I have been able to do is install Node 6.10.3. Once I do that, the web site comes up. But, I get a JavaScript error in the vendor.js file. I am able to continue but I get this error when I try navigate to another menu item. Plus the Hot Module Replacement does not seem to be working. (It does not automatically recompile my TypeScript file if I made a change).
I think the key is getting the Node.js development option installed correctly since I am able to run the pre-packed Angular solution on another PC and the Hot Module Replacement works fine.
Please let me know if anyone has any ideas on how to resolve.
I had a similar, if not the same, issue. Check the Visual Studio installation directory (2017 Professional in this case) for Node:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\NodeJs
If the executable is there, add the directory to your PATH.

NodeJS project type is missing from PhpStorm

I am trying to setup Express.js project in PhpStorm IDE.
Here are things I've done:
Installed node and npm
Installed nodejs plugin in PhpStorm
When I try to create new project node js express app type is missing from the project list.
PhpStorm version: 10.0.0
OS: Windows 8
It's there for me:
Something must be wrong with NodeJS plugin (incompatible version, etc.). I'd suggest creating a support ticket

Visual Studio 2015 Angular JS default project produced 404 error for app.js

This is a bit of an embarrassing question but I'm unable to get the default Typescript project to work in VS2015. It seems to be an issue with the pc I'm using and not VS as the default project works on other machines at my work. When running a Typescript project from VS2015 I get a 404 error when loading in the app.js. From my understanding ISS should be converting app.ts into app.js. I tried removing the ISSExpress folder from documents and trying again and that didn't work. Has anyone got any suggestions to help me get typescript working without having to reinstall VS.
Thanks

MEAN.io setup with WebStorm

MEAN.io http://mean.io/#!/ is getting popular for FullStack MEAN framework (Mongo db, Express, Angular JS, Node), Im able to follow instruction and setup MEAN.io so far successfully, now I want to integrate MEAN.io with WebStorm so I can proceed further development in WebStorm.
How can I run MEAN.io project in Webstorm?
Install MEAN.io and setup your project following given instructions:
https://github.com/linnovate/mean
Watch Video
Running MEAN.io project in WebStorm:
1- Open your project in Webstorm
2- Run->Edit Configurations to provide Node path, Working directory and JavaScript file "server.js" as following:
3- Save Configurations and Run project

PhoneGap 3.1 Local Build WP8

I'm trying to play with new phonegap-cli main focus is to setup wp8 platform
and when running command:
phonegap build wp8
It tries to use PhoneGap Build, which I presume happens because it hasn't found
my installed SDK in any path.
I tried to test my thesis and ran this command:
phonegap local build wp8
And it returns this error:
I have .NET Framework v4.0 installed, so this path exists:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
So the only thing I think happens is that phonegap can't find where SDK is installed,
so I have been searching through the documentation and I couldn't find anything regarding which Environment Variable PhoneGap checks.
So I would really appreciate any kind of help here.
Please make sure that you have added the framework path to the system PATH variable.
In my case it was the above reason and also related to Ant installed and configuration.
Alternatively you can use phonegap's online build service:
https://build.phonegap.com/
It works like a charm and is free for 1 private project.

Resources