Запуск Docpad в Windows 10
Я пытаюсь запустить локальный экземпляр docpad. У меня работает windows 10. Пытаюсь использовать твиттер bootstrap + jade template. Я установил Python. Я установил Microsoft Visual Studio C++ 2012 for Windows Desktop
хотя это для устранения неполадок Windows 7/8.
Я не установил и не могу установить Windows 7 64-bit SDK
и так как я нахожусь на Windows 10, это не похоже на то, что нужно делать.
Кто-нибудь может предложить предварительные требования, которые необходимы для запуска docpad на Windows 10?
Я получаю следующий вывод, хотя:
D:\dev\docpad\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\mcassidy\AppData\Roaming\npm\node_modules\npm\bin\node-gyp- bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds
tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either c
lick the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 201
0 to build using the Visual Studio 2010 build tools. [D:\dev\docpad\node_modules\bufferutil\build\bufferutil.vcxproj]
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:\Users\mcassidy\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\mcassidy\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\dev\docpad\node_modules\bufferutil
gyp ERR! node -v v8.9.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
(node:8892) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
> utf-8-validate@1.1.0 install D:\dev\docpad\node_modules\utf-8-validate
> node-gyp rebuild
D:\dev\docpad\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\mcassidy\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(42,5): error MSB8020: The builds
tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, either c
lick the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install Visual Studio 201
0 to build using the Visual Studio 2010 build tools. [D:\dev\docpad\node_modules\utf-8-validate\build\validation.vcxpro
j]
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:\Users\mcassidy\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\mcassidy\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\dev\docpad\node_modules\utf-8-validate
gyp ERR! node -v v8.9.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> twitter-bootstrap.docpad@0.9.0 postinstall D:\dev\docpad
> node node_modules/.bin/bower install
D:\dev\docpad\node_modules\.bin\bower:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! twitter-bootstrap.docpad@0.9.0 postinstall: `node node_modules/.bin/bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the twitter-bootstrap.docpad@0.9.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mcassidy\AppData\Roaming\npm-cache\_logs\2017-12-05T11_30_13_914Z-debug.log
error: The action completed successfully
error: An error occured:
Error: Command exited with a non-zero status code.
at Object.prepareExecutableResult (C:\Users\mcassidy\AppData\Roaming\npm\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:190:24)
at ChildProcess.<anonymous> (C:\Users\mcassidy\AppData\Roaming\npm\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:322:29)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
To report the above, follow the guide at: http://docpad.org/bug-report
Error: Command exited with a non-zero status code.
at Object.prepareExecutableResult (C:\Users\mcassidy\AppData\Roaming\npm\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:190:24)
at ChildProcess.<anonymous> (C:\Users\mcassidy\AppData\Roaming\npm\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:322:29)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)