abe33 / spectacular

Advanced BDD framework for CoffeeScript and JavaScript
MIT License
73 stars 6 forks source link

npm install fail for windows user #12

Open 1000i100 opened 10 years ago

1000i100 commented 10 years ago

Of course it can be fixed by installing visual studio components, but have only pur JS dependency could be a good thing for such a project.

MSBUILD : error MSB3428: Impossible de charger le composant Visual C++ "VCBuild
.exe". Pour corriger le problème, vous devez 1) installer le Kit de développeme
nt .NET Framework 2.0 SDK, 2) installer Microsoft Visual Studio 2005 ou 3) ajou
ter l'emplacement du composant au chemin d'accès système, s'il est installé ail
leurs.  [c:\Users\user\gitWorkspace\l-assistante\node_modules\spectacular\no
de_modules\jsdom\node_modules\contextify\build\binding.sln]
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\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
les\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\user\gitWorkspace\l-assistante\node_modules\spectacular
\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.17
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'c:\Users\user\gitWorkspa
ce\l-assistante\node_modules\spectacular'
npm ERR! error rolling back  spectacular@1.4.0 { [Error: ENOTEMPTY, rmdir 'c:\Us
ers\user\gitWorkspace\l-assistante\node_modules\spectacular']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 'c:\\Users\\user\\gitWorkspace\\l-assista
nte\\node_modules\\spectacular' }
npm ERR! weird error 1
npm ERR! Error: ENOENT, chmod 'C:\Users\user\AppData\Local\Temp\npm-9052-pNoG
QY_1\1380601357780-0.8025027285329998\package\test\functional\data\spec-02-06.st
ructure'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodej
s\\node_modules\\npm\\bin\\npm-cli.js" "install" "spectacular"
npm ERR! cwd c:\Users\user\gitWorkspace\l-assistante
npm ERR! node -v v0.10.17
npm ERR! npm -v 1.3.8
npm ERR! path C:\Users\user\AppData\Local\Temp\npm-9052-pNoGQY_1\138060135778
0-0.8025027285329998\package\test\functional\data\spec-02-06.structure
npm ERR! fstream_path C:\Users\user\AppData\Local\Temp\npm-9052-pNoGQY_1\1380
601357780-0.8025027285329998\package\test\functional\data\spec-02-06.structure
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\Program Files\nodejs\node_modules\npm\node_modules\fst
ream\lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\Users\user\gitWorkspace\l-assistante\npm-debug.log
npm ERR! not ok code 0
abe33 commented 10 years ago

Thanks for the report, I'll take a look at this and see what can be done.

1000i100 commented 10 years ago

I could suggest :

If i find some time, i'm planning to make a specular-lite fork that include only the specular-core feature, and with externalized string to generate localized test report. (French report for my comfort)