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
请问我构建模块的时候报错是什么问题? #25
Comments
用 grunt wrap 也是一样的错误。 |
不应该是 warp,改了,用 spm build 再试试 |
嗯, 应该是用spm build命令,我是用的grunt build,所以出错了。 那首页的那个Readme文档是否应该要改一下了,那里写的是进入目录执行grunt build。 |
恩 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本信息:
elthon-mac:gallery elthon$ grunt --version
grunt-cli v0.1.9
grunt v0.4.1
执行npm install后下载的模块
elthon-mac:gallery elthon$ ls node_modules/
async expect.js grunt mocha request seajs
elthon-mac:gallery elthon$ cd json
进入“json”模块进行构建,报:Object # has no method 'loadGlobalTasks', 是我的grunt版本问题么?
elthon-mac:json elthon$ grunt build -v
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
Loading "Gruntfile.js" tasks...ERROR
The text was updated successfully, but these errors were encountered: