gulp

    0熱度

    1回答

    當我運行gulp默認任務時,gulp clean css創建第一個style.min.css。當我結束這個任務並重新開始時,它會創建styles.min.min.css,並且每次添加.min都會持續發生,因此它會創建多個樣式文件。這裏是我的gulpfile.js: gulp.task('sass', function() { // Global Theme CSS Compila

    7熱度

    1回答

    的Windows 10 1703 節點6.11.2 NPM 5.4.0 每次我嘗試安裝NPM包(例如:NPM我吞掉通知),我收到以下錯誤: npm ERR!路徑C:\ Users \ web-dev \ Desktop \ barber \ node_modules \ fsevents \ node_modules \ ansi-regex \ package.json npm ERR!代碼EP

    0熱度

    1回答

    錯誤找不到模塊'gulp-watch'當我運行gulp時拋出。哪裏不對??? 我安裝一飲而盡正確 npm rm --global gulp npm install --global gulp-cli npm init npm install --save-dev gulp 我創造了這個gulpfile.js var gulp = require('gulp'), watch = requ

    1熱度

    1回答

    我有一個項目,我正在使用Angular 1.6並且我正在使用angular-translate將項目國際化。 角轉換安裝,配置和工作,如果我添加一些文字,如: {{'Test' | translate}} <span translate>Test</span> 和手動添加關鍵「測試」到文件es.json和en.json,Angular翻譯密鑰沒有問題。 現在我試圖自動從HTML和JS文件中提

    0熱度

    1回答

    我使用Gulp,webpack和帕格(玉)。問題在於dist-code由於在構建時格式化而具有額外的空間。 僞代碼: label each item in items span if kkk == 2 =item[1] else abbr(title='ttttttt') =elem 所得(DIST)。html的

    1熱度

    1回答

    我使用autoprefixer與吞噬添加瀏覽器呈現前綴屬性。但似乎像autoprefixer忽略所有的網格屬性。 gulp.task('postcss',function() { console.log("Running postcss task"); var plugins = [autoprefixer({browsers: "last 5 versions"

    0熱度

    1回答

    我用一口任務注入我的JavaScript文件: gulp.task('index', function() { var target = gulp.src('./public/index.html'); var sources = gulp.src(config.appjs.concat(config.appcss), {read: false}); return target.pipe(

    1熱度

    1回答

    我recived,要我說,一飲而盡,gitinfo沒有在文件 module.js:491 throw err; ^ Error: Cannot find module 'gulp-gitinfo' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at

    1熱度

    1回答

    我嘗試使用下面的命令來安裝吞掉4: sudo npm install git+https://[email protected]/gulpjs/gulp.git#4.0 --save-dev 但要拒絕權限錯誤: npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b 4.0 https://

    0熱度

    2回答

    我在我的角JS項目中使用es6語法,但它運行時拋出錯誤gulp build,搜索github和所以,但有人說這是錯誤的,因爲吞嚥uglify同時有人說這是巴貝爾問題和其他說ng-annonate問題。 的ubuntu 14.04 節點-v:8.4.0 NPM -v:5.3.0 巴貝爾--version:6.26.0(巴別 - 核6.26.0) package.json { "name":