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

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

Related

"Unknown compiler option 'preserveValueImports'.ts" error when making a sveltekit project

Whenever I create a sveltekit project with tyepscript, I always have the "Unknown compiler option 'preserveValueImports'.ts" appear in the tsconfig.json file. The error appears over the '"strict": true' line as seen in the image.
I'm using typescript version 4.9.4 and have tried to downgrade it to 4.8.4, but the error still persists. This is my first time trying out sveltekit and typescript, so I'm not sure if I installed them wrong, but all I did was installed typescript globally with npm and then created svelte project with pnpm. I also had created the svelte project with npm but the error still appears.
This error was solved on reddit by updating visual studio code to the latest version (1.74.2), as VS code uses the bundled version of typescript by default.

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.

could not open a nodejs project in intellij phpstorm and idea

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

Visual Studio Code - Node.js TypeScript intellisence is not working

i created a new blank node.js app with Visual Studio Code and TypeScript.
But i have the problem that the intellisence for the node types is not working in my TS File. I installed the tsd paketmanager to get the node.d.ts but VS code tell me only in my js files about the node objects.
For example the "http" module in my app.ts
and here in generated my app.js
What could be wrong in my configuration?
Thanks for any hints!
Regards

Error during Socket.io installation

I was wondering if someone could help me out here. I keep getting the following errors during the installation of Socket.io on windows 7 64 bits: http://pastebin.com/YMQgWNRu
I've done the following things already:
Added Nodejs path variable
Added Python path variable
Installed Microsoft windows SDK
Played around with the visual studio settings
The Socket.io folder ends up being created in the modules folder (inside Nodejs), but anything fails to find the socket.io module.
Edit: I noticed some dutch language in the error log: "Het systeem kan het opgegeven bestand niet vinden." means "The system could not find the requested file".
I can't believe that I finally fixed it, but I did. For anyone reading this and going through the same nightmare here is what I did:
First of all I made the mistake of trying to install the Socket.io inside the NodeJS folder. It should be in installed in your project folder.
I uninstalled visual studio (and 2010 C++ redis.) and started from Visual Studio 2010 and went from there using '--msvs_version=xxxx'. At Visual Studio 2013 Express my installation was for some reason successful.

Resources