Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The project file could not be loaded. Invalid character in the given encoding. #476

Closed
ColCh opened this issue Jul 25, 2014 · 1 comment
Closed

Comments

@ColCh
Copy link

ColCh commented Jul 25, 2014

Windows 8.1 x64, Russian. Trying to install contextify but I have an issue ...

Installed everything as specified in Visual Studio 2010 Setup

But it throws an error as installing:

C:\Users\Максим\AppData\Roaming\npm\node_modules\contextify>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\nod
e-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Построение проектов в этом решении по одному. Чтобы включить параллельное построение, добавьте параметр "/m".
C:\Users\Максим\AppData\Roaming\npm\node_modules\contextify\build\contextify.vcxproj(44,46): error MSB4025: не удалось
загрузить файл проекта. Недопустимый знак для указанной кодировки., строка 44, позиция 46.
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\buil
d.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "
rebuild"

I've cloned git repo and opened build/binding.sln (manually) In VS 2010.

That's what I see:

D:\Workspace\contextify\build\contextify.vcxproj : error  : Unable to read the project file "contextify.vcxproj".
D:\Workspace\contextify\build\contextify.vcxproj(44,46): The project file could not be loaded. Invalid character in the given encoding. Line 44, position 46.

And this is line 44:

      <AdditionalIncludeDirectories>C:\Users\Ìàêñèì\.node-gyp\0.10.29\src;C:\Users\Ìàêñèì\.node-gyp\0.10.29\deps\uv\include;C:\Users\Ìàêñèì\.node-gyp\0.10.29\deps\v8\include;..\node_modules\nan;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

Ìàêñèì is poor encoded Максим (Username)

Is it related to node-gyp or contextify? Can I resolve it by renaming user from Максим to Max (or something without сyrillic chars)

@ColCh
Copy link
Author

ColCh commented Jul 25, 2014

Maybe related to #297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant