ddliu / gulp-remote-src

Remote gulp.src
MIT License
20 stars 6 forks source link

'throw new Error ('base must be set to non-empty string, or null/undefined.'); #11

Open aaronkahlhamer opened 7 years ago

aaronkahlhamer commented 7 years ago

Summary: Version 0.4.2 should be considered a breaking change; update package.json to "version": "1.0.0",. (That's my conclusion. Forgive me for being a newbie.)

Problem: Receiving 'throw new Error ('base must be set to non-empty string, or null/undefined.');

The code where the error is occurring: return remoteSrc(devFilesArr, { base: '' })

I believe the problem stems from breaking changes—going from version 0.5.3 to "vinyl": "~2.0.1".

"devDependencies": {
    "babel-preset-es2015": "^6.18.0",
    "browser-sync": "^2.18.5",
    "gulp": "^3.9.0",
    "gulp-add-src": "^0.2.0",
    "gulp-autoprefixer": "^3.1.0",
    "gulp-babel": "^6.1.2",
    "gulp-cheerio": "^0.6.2",
    "gulp-clean": "^0.3.2",
    "gulp-clean-css": "^2.0.13",
    "gulp-concat": "^2.6.1",
    "gulp-eslint": "^3.0.1",
    "gulp-file-include": "^0.13.7",
    "gulp-filter": "^4.0.0",
    "gulp-header": "^1.8.8",
    "gulp-html-replace": "^1.6.2",
    "gulp-htmlhint-networkaaron": "^0.3.2",
    "gulp-if": "^2.0.2",
    "gulp-ignore": "^2.0.2",
    "gulp-include": "^2.3.1",
    "gulp-inline-source": "^3.0.0",
    "gulp-newer": "^1.1.0",
    "gulp-notify": "^2.2.0",
    "gulp-order": "^1.1.1",
    "gulp-plumber": "^1.1.0",
    "gulp-remote-src": "^0.4.1",
    "gulp-rename": "^1.2.2",
    "gulp-replace": "^0.5.4",
    "gulp-sass": "^2.3.2",
    "gulp-sourcemaps": "^1.9.1",
    "gulp-stylelint": "^3.7.0",
    "gulp-uglify": "^2.0.0",
    "gulp-uncss": "^1.0.6",
    "gulp-wrapper": "^1.0.0",
    "html-validator": "^2.2.0",
    "inquirer": "^1.2.3",
    "jasmine": "^2.5.3",
    "minimist": "^1.2.0",
    "mkdirp": "^0.5.1",
    "request": "^2.67.0",
    "require-dir": "^0.3.0",
    "run-sequence": "^1.2.2",
    "through2": "^2.0.3",
    "yargs": "^6.5.0"
  }

Let me know if you need anything else.