2
我建一個角度應用程序與呦角genertor工作,咕嚕籌建不育角
我是建設有咕嚕應用構建精細,然後我加引導3,也NPM安裝咕嚕鮑爾安裝
我添加這些行繁重的文件
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
require('time-grunt')(grunt);
//ADDED THIS LINE
grunt.loadNpmTasks('grunt-bower-install');
grunt.initConfig({
yeoman: {
// configurable paths
app: require('./bower.json').appPath || 'app',
dist: 'dist'
},
//ADDED THESE LINES
'bower-install': {
target: {
src: [
'app/index.html'
],
}
},
但是我已經刪除了這些線!
現在咕嚕打造的是引發此錯誤
Running "bowerInstall:app" (bowerInstall) task
Warning: Cannot read property 'main' of undefined Use --force to continue.
Aborted due to warnings.
我不知道該怎麼辦,甚至從哪裏開始?
哈,想過。 – zishe
只用了幾天的涼亭:) –