Tag: windows 7 x64

在Windows上使用IPython笔记本的500服务器错误

我刚刚在Windows 7 Professional 64位上完成了IPython笔记本的全新安装。 我采取的步骤是: 从http://python.org安装Python 3.4.1 > pip install ipython[notebook] > pip install pywin numpy pygments nodeenv 我可以打开笔记本电脑。 但是,当我selectFile > Print Preview或File > Download as HTML我得到一个500服务器错误。 堆栈跟踪是: 2014-08-07 09:44:25.431 [NotebookApp] Loaded template full.tpl C:\Python34\lib\site-packages\IPython\nbconvert\filters\markdown.py:78: UserWarning: Node.js 0.9.12 or later wasn't found. Nbconvert will try to use Pandoc instead. "Nbconvert will try to use Pandoc […]

如何使用node-inspector,Windows 7debugging带有断点的Gruntfile?

所以我花了几天的时间试图让这个没有运气的工作。 我发现的大多数解决scheme似乎对于debugging节点应用程序都是“好的”。 但我没有太多的运气debugging咕噜站在独立。 我希望能够在我的gruntfile中设置断点,并通过浏览器或IDE浏览代码。 我已经尝试了以下内容: 使用intelliJ IDE进行debugging使用Grunt控制台 ( 处理结束,退出代码6 ) 使用Nodeeclipse进行debugging ( 这种工作方式没问题,但是不会在eclipse中设置断点,不太直观 ) 使用node-inspector进行debugging ( 这也是一些工作,我可以在chrome中使用F11和F10,但最终它只是崩溃,使用F8跳到break point永远不会工作。 错误信息使用节点检查器 所以目前节点检查员觉得它已经让我接近我想要的。 为了达到这里我做了以下几点: 从我的grunt目录中运行以下命令: grunt node-inspector node –debug-brk Gruntfile.js 然后从那里我去了localhost:8080/debug?port=5858来debugging我的Gruntfile.js。 但就像我上面提到的,只要我打F8跳到断点它崩溃与上述错误。 有没有人有任何成功使用这种方法来尝试debuggingGruntfile? 从我的search工作到目前为止,我还没有find一个非常有据可查的方法来做到这一点。 所以希望这将是对未来用户有用或有益的信息。 另外我正在使用Windows 7的方式。 提前致谢。 更新: 我已经尝试过以下build议的@dylants没有运气。 在位于C:\Users\khollenbeck\AppData\Roaming\npm Windows计算机上findgrunt.cmd文件。 打开grunt.cmd文件,发现以下…. 这导致我包含一个名为grunt的文件的C:\Users\khollenbeck\AppData\Roaming\npm\node_modules\grunt-cli\bin 。 从那里的文件的顶部。 我将这个代码#!/usr/bin/env node改为#!/usr/bin/env node –debug-brk 在做这个命令node-inspector C:\path\to\gruntfile grunt我得到了以下。 Node Inspector v0.7.3 Visit http://localhost:8080/debug?port=5858 […]

无法在Windows 7上安装socket.io

我是Node和NPM的新手。 我使用Node v0.10.0,当我运行npm install socket.io命令时,出现以下错误: C:\Users\USER\AppData\Roaming\npm\node_modules\socket.io\node_modules\socket.io- client\node_modules\ws>node "C:\Users\USER\AppData\Roaming\npm\node_modules\npm\ bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(29 7,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu mber. [C:\Users\USER\AppData\Roaming\npm\node_modules\socket.io\node_modules\so cket.io-client\node_modules\ws\build\bufferutil.vcxproj] bufferutil.cc c:\users\user\.node-gyp\0.10.0\deps\uv\include\uv-private/uv-win.h(32): fatal e rror C1083: Cannot open include file: 'winsock2.h': No such file or directory [ […]

在Windows 7 64位更新node.js

如何更新Windows 7 64位操作系统中的node.js? 我尝试着名的: npm cache clean -f npm install -gn n stable 但是在npm install -gn它失败了,提示如下错误: C:\Windows\system32>npm install -gn npm http GET https://registry.npmjs.org/n npm http 304 https://registry.npmjs.org/n npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: n@1.2 .9 npm ERR! notsup Valid OS: !win32 npm ERR! notsup Valid Arch: […]