草庐IT

grunt-ngdocs

全部标签

node.js - 为什么 Grunt 会失败?

我在运行npmrun-scriptgrunt后遇到一个奇怪的错误,它告诉我node_modules/.bin/grunt失败。我正在学习一个教程,因为我对Backbone(http://dailyjs.com/2012/11/29/backbone-tutorial-1/)很陌生,这是我的package.json文件。{"name":"btask","version":"0.0.1","private":true,"dependencies":{"requirejs":"latest","connect":"2.7.0"},"devDependencies":{"mocha":"lat

node.js - 为什么 Grunt 会失败?

我在运行npmrun-scriptgrunt后遇到一个奇怪的错误,它告诉我node_modules/.bin/grunt失败。我正在学习一个教程,因为我对Backbone(http://dailyjs.com/2012/11/29/backbone-tutorial-1/)很陌生,这是我的package.json文件。{"name":"btask","version":"0.0.1","private":true,"dependencies":{"requirejs":"latest","connect":"2.7.0"},"devDependencies":{"mocha":"lat

node.js - grunt watch 任务阻塞命令行

我是grunt的新手,还在学习,所以我遇到了一个非常奇怪的问题。当我运行"watch"任务时,我的命令行被阻塞了,所以基本上我不能对它做任何事情。请记住,任务已成功完成。这是我的命令行输出:C:\server\css-test>gruntwRunning"watch"taskWaiting...OK>>File"compass-examples-master\02\sass\screen.scss"changed.Running"compass"(compass)taskunchangedcompass-examples-master/02/sass/ie.scssunchangedc

node.js - grunt watch 任务阻塞命令行

我是grunt的新手,还在学习,所以我遇到了一个非常奇怪的问题。当我运行"watch"任务时,我的命令行被阻塞了,所以基本上我不能对它做任何事情。请记住,任务已成功完成。这是我的命令行输出:C:\server\css-test>gruntwRunning"watch"taskWaiting...OK>>File"compass-examples-master\02\sass\screen.scss"changed.Running"compass"(compass)taskunchangedcompass-examples-master/02/sass/ie.scssunchangedc

node.js - 错误代码 : 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined

这里是新的Grunt用户,他今天使用了很多新工具(npmnodejs)。我已经“安装”了Grunt并且能够使用这里描述的init任务创建一个grunt.js文件:http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/在这里:https://github.com/cowboy/grunt/blob/master/docs/getting_started.md.但是每当我运行“grunt”命令时,我都会收到一个错误:WindowsScriptHostScri

node.js - 错误代码 : 800A1391 Source: Microsoft JScript runtime error Running Grunt - Module is undefined

这里是新的Grunt用户,他今天使用了很多新工具(npmnodejs)。我已经“安装”了Grunt并且能够使用这里描述的init任务创建一个grunt.js文件:http://net.tutsplus.com/tutorials/javascript-ajax/meeting-grunt-the-build-tool-for-javascript/在这里:https://github.com/cowboy/grunt/blob/master/docs/getting_started.md.但是每当我运行“grunt”命令时,我都会收到一个错误:WindowsScriptHostScri

node.js - 安装 grunt 时出现 NodeJS NPM 代理错误

当我尝试通过npm安装grunt时,出现以下错误:C:\ProgramFiles\nodejs\node_modules\npm>npminstall-ggruntnpmERR!networkconnectETIMEDOUTnpmERR!networkThisismostlikelynotaproblemwithnpmitselfnpmERR!networkandisrelatedtonetworkconnectivity.npmERR!networkInmostcasesyouarebehindaproxyorhavebadnetworksettings.npmERR!network

node.js - 安装 grunt 时出现 NodeJS NPM 代理错误

当我尝试通过npm安装grunt时,出现以下错误:C:\ProgramFiles\nodejs\node_modules\npm>npminstall-ggruntnpmERR!networkconnectETIMEDOUTnpmERR!networkThisismostlikelynotaproblemwithnpmitselfnpmERR!networkandisrelatedtonetworkconnectivity.npmERR!networkInmostcasesyouarebehindaproxyorhavebadnetworksettings.npmERR!network

node.js - 通过 localhost :port on virtual machine 访问 node.js/grunt 服务器

我正在通过Grunt在端口9000上本地运行node.js服务器。我也有一个正在运行的虚拟机(vmware),但我无法通过它访问Node服务器。我已经将VM配置为通过localhost访问主机上的Apache服务器,但:9000给出“未找到”。有人知道怎么做吗? 最佳答案 知道了!在我项目的Grunt.js文件中有这样的设置:grunt.initConfig({...connect:{options:{port:9000,//Changethisto'0.0.0.0'toaccesstheserverfromoutside.host

node.js - 通过 localhost :port on virtual machine 访问 node.js/grunt 服务器

我正在通过Grunt在端口9000上本地运行node.js服务器。我也有一个正在运行的虚拟机(vmware),但我无法通过它访问Node服务器。我已经将VM配置为通过localhost访问主机上的Apache服务器,但:9000给出“未找到”。有人知道怎么做吗? 最佳答案 知道了!在我项目的Grunt.js文件中有这样的设置:grunt.initConfig({...connect:{options:{port:9000,//Changethisto'0.0.0.0'toaccesstheserverfromoutside.host