Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: NPM can't install dependency modules if the project name contains CHS chars [1182]

$
0
0
Config:

- Win8.1 CHS with the latest updates
- VS2013 ENU with Update 3 RC
- NTVS build 20707.01

Repre:

- Create a Node.js Basic Express project with the project name containing the following characters 捷径应用. (I use these chars for the solution name)

Issue:

- NPM failed to install the dependency modules because it thinks the solution/project name is invalid. But in our REPL window, we displayed the first two chars as garbage characters but the last two were fine. For example, this is how the project/solution name looked like in the REPL window (without the quotes). "?��?应用"

- In the NPM command line, it can't install the package either but it doesn't do the wrong encoding of the characters. So the project name was still displayed as 捷径应用.

As suggested in the bugbash, this is unfortunately an NPM issue, but we shouldn't encode the characters wrong.


Viewing all articles
Browse latest Browse all 4630

Trending Articles