diff --git a/.eslintrc b/.eslintrc index 3d99ac772..160186fc6 100644 --- a/.eslintrc +++ b/.eslintrc @@ -3,13 +3,13 @@ "node": true }, "plugins": [ - "nodeca" - ], + "nodeca" + ], "rules": { "strict": 0, "curly": 0, "indent": [0, "tab"], - "nodeca/indent": [2, "tabs", 1 ], + "nodeca/indent": [2, "tabs", 1 ], "eol-last": 1, "no-shadow": 0, "no-redeclare": 1, diff --git a/lib/ConstPlugin.js b/lib/ConstPlugin.js index c8e818589..ccc37c663 100644 --- a/lib/ConstPlugin.js +++ b/lib/ConstPlugin.js @@ -7,8 +7,7 @@ var BasicEvaluatedExpression = require("./BasicEvaluatedExpression"); var NullFactory = require("./NullFactory"); -function ConstPlugin() { -} +function ConstPlugin() {} module.exports = ConstPlugin; ConstPlugin.prototype.apply = function(compiler) { @@ -52,4 +51,6 @@ ConstPlugin.prototype.apply = function(compiler) { this.state.current.addVariable("__resourceQuery", JSON.stringify(this.state.module.splitQuery(this.state.module.resource)[1])); return true; }); -}; \ No newline at end of file +}; + + diff --git a/lib/EvalDevToolModulePlugin.js b/lib/EvalDevToolModulePlugin.js index e274107df..740720de9 100644 --- a/lib/EvalDevToolModulePlugin.js +++ b/lib/EvalDevToolModulePlugin.js @@ -14,4 +14,5 @@ EvalDevToolModulePlugin.prototype.apply = function(compiler) { compiler.plugin("compilation", function(compilation) { compilation.moduleTemplate.apply(new EvalDevToolModuleTemplatePlugin(self.sourceUrlComment, self.moduleFilenameTemplate)); }); -}; \ No newline at end of file +}; + diff --git a/lib/ExtendedAPIPlugin.js b/lib/ExtendedAPIPlugin.js index 4be864f70..a6df94383 100644 --- a/lib/ExtendedAPIPlugin.js +++ b/lib/ExtendedAPIPlugin.js @@ -43,4 +43,4 @@ ExtendedAPIPlugin.prototype.apply = function(compiler) { return new BasicEvaluatedExpression().setString(REPLACEMENT_TYPES[key]).setRange(expr.range); }); }); -}; \ No newline at end of file +}; diff --git a/lib/FunctionModulePlugin.js b/lib/FunctionModulePlugin.js index bdaa73412..bb8ca2565 100644 --- a/lib/FunctionModulePlugin.js +++ b/lib/FunctionModulePlugin.js @@ -15,4 +15,4 @@ FunctionModulePlugin.prototype.apply = function(compiler) { compilation.moduleTemplate.requestShortener = this.requestShortener || new RequestShortener(compiler.context); compilation.moduleTemplate.apply(new FunctionModuleTemplatePlugin()); }.bind(this)); -}; \ No newline at end of file +}; diff --git a/lib/HotModuleReplacement.runtime.js b/lib/HotModuleReplacement.runtime.js index a0a812d0f..25de4d403 100644 --- a/lib/HotModuleReplacement.runtime.js +++ b/lib/HotModuleReplacement.runtime.js @@ -437,4 +437,4 @@ module.exports = function() { hotSetStatus("idle"); callback(null, outdatedModules); } -}; \ No newline at end of file +}; diff --git a/lib/HotUpdateChunkTemplate.js b/lib/HotUpdateChunkTemplate.js index 3c28c3978..a288c4da8 100644 --- a/lib/HotUpdateChunkTemplate.js +++ b/lib/HotUpdateChunkTemplate.js @@ -22,4 +22,4 @@ HotUpdateChunkTemplate.prototype.updateHash = function(hash) { hash.update("HotUpdateChunkTemplate"); hash.update("1"); this.applyPlugins("hash", hash); -}; \ No newline at end of file +}; diff --git a/lib/IgnorePlugin.js b/lib/IgnorePlugin.js index 645eb2c3c..71a4340db 100644 --- a/lib/IgnorePlugin.js +++ b/lib/IgnorePlugin.js @@ -29,4 +29,4 @@ IgnorePlugin.prototype.apply = function(compiler) { return callback(null, result); }); }); -}; \ No newline at end of file +}; diff --git a/lib/JsonpTemplatePlugin.js b/lib/JsonpTemplatePlugin.js index 8ec71ddb1..f2adff5c7 100644 --- a/lib/JsonpTemplatePlugin.js +++ b/lib/JsonpTemplatePlugin.js @@ -6,8 +6,7 @@ var JsonpMainTemplatePlugin = require("./JsonpMainTemplatePlugin"); var JsonpChunkTemplatePlugin = require("./JsonpChunkTemplatePlugin"); var JsonpHotUpdateChunkTemplatePlugin = require("./JsonpHotUpdateChunkTemplatePlugin"); -function JsonpTemplatePlugin() { -} +function JsonpTemplatePlugin() {} module.exports = JsonpTemplatePlugin; JsonpTemplatePlugin.prototype.apply = function(compiler) { compiler.plugin("this-compilation", function(compilation) { @@ -15,4 +14,5 @@ JsonpTemplatePlugin.prototype.apply = function(compiler) { compilation.chunkTemplate.apply(new JsonpChunkTemplatePlugin()); compilation.hotUpdateChunkTemplate.apply(new JsonpHotUpdateChunkTemplatePlugin()); }); -}; \ No newline at end of file +}; + diff --git a/lib/ModuleTemplate.js b/lib/ModuleTemplate.js index 786f9be2c..545243b13 100644 --- a/lib/ModuleTemplate.js +++ b/lib/ModuleTemplate.js @@ -20,4 +20,4 @@ ModuleTemplate.prototype.render = function(module, dependencyTemplates, chunk) { ModuleTemplate.prototype.updateHash = function(hash) { hash.update("1"); this.applyPlugins("hash", hash); -}; \ No newline at end of file +}; diff --git a/lib/MultiCompiler.js b/lib/MultiCompiler.js index ac8499f8c..46aaab5ba 100644 --- a/lib/MultiCompiler.js +++ b/lib/MultiCompiler.js @@ -158,4 +158,4 @@ MultiStats.prototype.toJson = function(options, forToString) { return obj; }; -MultiStats.prototype.toString = Stats.prototype.toString; \ No newline at end of file +MultiStats.prototype.toString = Stats.prototype.toString; diff --git a/lib/NodeStuffPlugin.js b/lib/NodeStuffPlugin.js index 951ac4bd5..35e204fa2 100644 --- a/lib/NodeStuffPlugin.js +++ b/lib/NodeStuffPlugin.js @@ -84,4 +84,4 @@ NodeStuffPlugin.prototype.apply = function(compiler) { compiler.parser.plugin("expression module", function() { return ModuleParserHelpers.addParsedVariable(this, "module", "require(" + JSON.stringify(path.join(__dirname, "..", "buildin", "module.js")) + ")(module)"); }); -}; \ No newline at end of file +}; diff --git a/lib/OptionsApply.js b/lib/OptionsApply.js index 4befafab3..8c1819f53 100644 --- a/lib/OptionsApply.js +++ b/lib/OptionsApply.js @@ -8,4 +8,4 @@ module.exports = OptionsApply; OptionsApply.prototype.process = function(/* options, compiler */) { -}; \ No newline at end of file +}; diff --git a/lib/OriginalSource.js b/lib/OriginalSource.js index a4759bc27..be763a175 100644 --- a/lib/OriginalSource.js +++ b/lib/OriginalSource.js @@ -2,4 +2,4 @@ MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ -module.exports = require("webpack-core/lib/OriginalSource"); \ No newline at end of file +module.exports = require("webpack-core/lib/OriginalSource"); diff --git a/lib/PrefetchPlugin.js b/lib/PrefetchPlugin.js index 4ca912bc2..da54ac881 100644 --- a/lib/PrefetchPlugin.js +++ b/lib/PrefetchPlugin.js @@ -22,4 +22,4 @@ PrefetchPlugin.prototype.apply = function(compiler) { compiler.plugin("make", function(compilation, callback) { compilation.prefetch(this.context || compiler.context, new PrefetchDependency(this.request), callback); }.bind(this)); -}; \ No newline at end of file +}; diff --git a/lib/ProvidePlugin.js b/lib/ProvidePlugin.js index 9d86c0c6b..78232bb5f 100644 --- a/lib/ProvidePlugin.js +++ b/lib/ProvidePlugin.js @@ -43,4 +43,4 @@ ProvidePlugin.prototype.apply = function(compiler) { return true; }); }, this); -}; \ No newline at end of file +}; diff --git a/lib/RawSource.js b/lib/RawSource.js index 25fd9924a..e3247bc7c 100644 --- a/lib/RawSource.js +++ b/lib/RawSource.js @@ -2,4 +2,4 @@ MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ -module.exports = require("webpack-core/lib/RawSource"); \ No newline at end of file +module.exports = require("webpack-core/lib/RawSource"); diff --git a/lib/RequireJsStuffPlugin.js b/lib/RequireJsStuffPlugin.js index 58b4a6a84..c07939dcf 100644 --- a/lib/RequireJsStuffPlugin.js +++ b/lib/RequireJsStuffPlugin.js @@ -35,4 +35,4 @@ RequireJsStuffPlugin.prototype.apply = function(compiler) { this.state.current.addDependency(dep); return true; }); -}; \ No newline at end of file +}; diff --git a/lib/SetVarMainTemplatePlugin.js b/lib/SetVarMainTemplatePlugin.js index cb4462175..2f052b9d8 100644 --- a/lib/SetVarMainTemplatePlugin.js +++ b/lib/SetVarMainTemplatePlugin.js @@ -24,8 +24,8 @@ SetVarMainTemplatePlugin.prototype.apply = function(compilation) { return new ConcatSource(prefix, source); } }.bind(this)); - mainTemplate.plugin("global-hash-paths", function (paths) { - if (this.varExpression) paths.push(this.varExpression); + mainTemplate.plugin("global-hash-paths", function(paths) { + if(this.varExpression) paths.push(this.varExpression); return paths; }); mainTemplate.plugin("hash", function(hash) { @@ -34,3 +34,4 @@ SetVarMainTemplatePlugin.prototype.apply = function(compilation) { hash.update(this.copyObject + ""); }.bind(this)); }; + diff --git a/lib/Source.js b/lib/Source.js index 9b093a57a..e407766d7 100644 --- a/lib/Source.js +++ b/lib/Source.js @@ -2,4 +2,5 @@ MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ -module.exports = require("webpack-core/lib/Source"); \ No newline at end of file +module.exports = require("webpack-core/lib/Source"); + diff --git a/lib/SourceMapSource.js b/lib/SourceMapSource.js index 8cc62e8bb..9dab2e027 100644 --- a/lib/SourceMapSource.js +++ b/lib/SourceMapSource.js @@ -2,4 +2,5 @@ MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ -module.exports = require("webpack-core/lib/SourceMapSource"); \ No newline at end of file +module.exports = require("webpack-core/lib/SourceMapSource"); + diff --git a/lib/TemplatedPathPlugin.js b/lib/TemplatedPathPlugin.js index cd21f418b..5c27752a5 100644 --- a/lib/TemplatedPathPlugin.js +++ b/lib/TemplatedPathPlugin.js @@ -32,7 +32,7 @@ function TemplatedPathPlugin() {} module.exports = TemplatedPathPlugin; function withHashLength(replacer, handlerFn) { - return function (_, hashLength) { + return function(_, hashLength) { var length = hashLength && parseInt(hashLength, 10); if(length && handlerFn) { return handlerFn(length); @@ -43,11 +43,11 @@ function withHashLength(replacer, handlerFn) { } function getReplacer(value, allowEmpty) { - return function (match) { + return function(match) { // last argument in replacer is the entire input string var input = arguments[arguments.length - 1]; - if (value == null) { - if (!allowEmpty) throw new Error("Path variable " + match + " not implemented in this context: " + input); + if(value == null) { + if(!allowEmpty) throw new Error("Path variable " + match + " not implemented in this context: " + input); return ""; } else { return "" + value; @@ -109,3 +109,4 @@ TemplatedPathPlugin.prototype.apply = function(compiler) { }); }); }; + diff --git a/lib/WarnCaseSensitiveModulesPlugin.js b/lib/WarnCaseSensitiveModulesPlugin.js index 6504f98fd..97c450c12 100644 --- a/lib/WarnCaseSensitiveModulesPlugin.js +++ b/lib/WarnCaseSensitiveModulesPlugin.js @@ -4,8 +4,7 @@ */ var CaseSensitiveModulesWarning = require("./CaseSensitiveModulesWarning"); -function WarnCaseSensitiveModulesPlugin() { -} +function WarnCaseSensitiveModulesPlugin() {} module.exports = WarnCaseSensitiveModulesPlugin; WarnCaseSensitiveModulesPlugin.prototype.apply = function(compiler) { @@ -25,4 +24,5 @@ WarnCaseSensitiveModulesPlugin.prototype.apply = function(compiler) { }, this); }); }); -}; \ No newline at end of file +}; + diff --git a/lib/WatchIgnorePlugin.js b/lib/WatchIgnorePlugin.js index d87c4b29e..647ee833a 100644 --- a/lib/WatchIgnorePlugin.js +++ b/lib/WatchIgnorePlugin.js @@ -4,8 +4,8 @@ function WatchIgnorePlugin(paths) { module.exports = WatchIgnorePlugin; -WatchIgnorePlugin.prototype.apply = function (compiler) { - compiler.plugin("after-environment", function () { +WatchIgnorePlugin.prototype.apply = function(compiler) { + compiler.plugin("after-environment", function() { compiler.watchFileSystem = new IgnoringWatchFileSystem(compiler.watchFileSystem, this.paths); }.bind(this)); }; @@ -15,28 +15,31 @@ function IgnoringWatchFileSystem(wfs, paths) { this.paths = paths; } -IgnoringWatchFileSystem.prototype.watch = function (files, dirs, missing, startTime, delay, callback, callbackUndelayed) { - var ignored = function (path) { - return this.paths.some(function (p) { +IgnoringWatchFileSystem.prototype.watch = function(files, dirs, missing, startTime, delay, callback, callbackUndelayed) { + var ignored = function(path) { + return this.paths.some(function(p) { return ((p instanceof RegExp) ? p.test(path) : path.indexOf(p) === 0); }); }.bind(this); - var notIgnored = function (path) { return !ignored(path); }; + var notIgnored = function(path) { + return !ignored(path); + }; var ignoredFiles = files.filter(ignored); var ignoredDirs = dirs.filter(ignored); - this.wfs.watch(files.filter(notIgnored), dirs.filter(notIgnored), missing, startTime, delay, function (err, filesModified, dirsModified, fileTimestamps, dirTimestamps) { + this.wfs.watch(files.filter(notIgnored), dirs.filter(notIgnored), missing, startTime, delay, function(err, filesModified, dirsModified, fileTimestamps, dirTimestamps) { if(err) return callback(err); - ignoredFiles.forEach(function (path) { + ignoredFiles.forEach(function(path) { fileTimestamps[path] = 1; }); - ignoredDirs.forEach(function (path) { + ignoredDirs.forEach(function(path) { dirTimestamps[path] = 1; }); callback(err, filesModified, dirsModified, fileTimestamps, dirTimestamps); }, callbackUndelayed); }; + diff --git a/lib/dependencies/AMDPlugin.js b/lib/dependencies/AMDPlugin.js index c197ffcf0..d9b97bd80 100644 --- a/lib/dependencies/AMDPlugin.js +++ b/lib/dependencies/AMDPlugin.js @@ -111,4 +111,4 @@ AMDPlugin.prototype.apply = function(compiler) { "webpack amd define": path.join(__dirname, "..", "..", "buildin", "amd-define.js") }) ); -}; \ No newline at end of file +}; diff --git a/lib/dependencies/CommonJsPlugin.js b/lib/dependencies/CommonJsPlugin.js index eb73aec14..a04e86cee 100644 --- a/lib/dependencies/CommonJsPlugin.js +++ b/lib/dependencies/CommonJsPlugin.js @@ -90,4 +90,4 @@ CommonJsPlugin.prototype.apply = function(compiler) { new CommonJsRequireDependencyParserPlugin(this.options), new RequireResolveDependencyParserPlugin(this.options) ); -}; \ No newline at end of file +}; diff --git a/lib/dependencies/LabeledModulesPlugin.js b/lib/dependencies/LabeledModulesPlugin.js index e21185d32..d92155384 100644 --- a/lib/dependencies/LabeledModulesPlugin.js +++ b/lib/dependencies/LabeledModulesPlugin.js @@ -24,4 +24,4 @@ LabeledModulesPlugin.prototype.apply = function(compiler) { compilation.dependencyTemplates.set(LabeledExportsDependency, new LabeledExportsDependency.Template()); }); compiler.parser.apply(new LabeledModuleDependencyParserPlugin()); -}; \ No newline at end of file +}; diff --git a/lib/dependencies/LocalModule.js b/lib/dependencies/LocalModule.js index f831db742..048ade008 100644 --- a/lib/dependencies/LocalModule.js +++ b/lib/dependencies/LocalModule.js @@ -16,4 +16,4 @@ LocalModule.prototype.flagUsed = function() { LocalModule.prototype.variableName = function() { return "__WEBPACK_LOCAL_MODULE_" + this.idx + "__"; -}; \ No newline at end of file +}; diff --git a/lib/dependencies/RequireContextPlugin.js b/lib/dependencies/RequireContextPlugin.js index 44f9a4ccf..8d7f9d4f3 100644 --- a/lib/dependencies/RequireContextPlugin.js +++ b/lib/dependencies/RequireContextPlugin.js @@ -61,4 +61,4 @@ RequireContextPlugin.prototype.apply = function(compiler) { }); }); new RequireContextDependencyParserPlugin().apply(compiler.parser); -}; \ No newline at end of file +}; diff --git a/lib/dependencies/RequireEnsurePlugin.js b/lib/dependencies/RequireEnsurePlugin.js index 54c24596a..5630795f1 100644 --- a/lib/dependencies/RequireEnsurePlugin.js +++ b/lib/dependencies/RequireEnsurePlugin.js @@ -36,4 +36,4 @@ RequireEnsurePlugin.prototype.apply = function(compiler) { this.state.current.addDependency(dep); return true; }); -}; \ No newline at end of file +}; diff --git a/lib/dependencies/RequireIncludePlugin.js b/lib/dependencies/RequireIncludePlugin.js index 6c434d348..14964df70 100644 --- a/lib/dependencies/RequireIncludePlugin.js +++ b/lib/dependencies/RequireIncludePlugin.js @@ -29,4 +29,4 @@ RequireIncludePlugin.prototype.apply = function(compiler) { this.state.current.addDependency(dep); return true; }); -}; \ No newline at end of file +}; diff --git a/lib/node/NodeEnvironmentPlugin.js b/lib/node/NodeEnvironmentPlugin.js index f6dcf94d1..4d1211e9b 100644 --- a/lib/node/NodeEnvironmentPlugin.js +++ b/lib/node/NodeEnvironmentPlugin.js @@ -23,4 +23,4 @@ NodeEnvironmentPlugin.prototype.apply = function(compiler) { inputFileSystem.purge(); callback(); }); -}; \ No newline at end of file +}; diff --git a/lib/node/NodeTargetPlugin.js b/lib/node/NodeTargetPlugin.js index 2b2d4af19..aad887b7f 100644 --- a/lib/node/NodeTargetPlugin.js +++ b/lib/node/NodeTargetPlugin.js @@ -10,4 +10,4 @@ function NodeTargetPlugin() { module.exports = NodeTargetPlugin; NodeTargetPlugin.prototype.apply = function(compiler) { new ExternalsPlugin("commonjs", Object.keys(process.binding("natives"))).apply(compiler); -}; \ No newline at end of file +}; diff --git a/lib/optimize/OccurenceOrderPlugin.js b/lib/optimize/OccurenceOrderPlugin.js index dca730d14..12bd22d1d 100644 --- a/lib/optimize/OccurenceOrderPlugin.js +++ b/lib/optimize/OccurenceOrderPlugin.js @@ -3,3 +3,4 @@ Author Tobias Koppers @sokra */ module.exports = require("./OccurrenceOrderPlugin"); + diff --git a/lib/optimize/OccurrenceOrderPlugin.js b/lib/optimize/OccurrenceOrderPlugin.js index c24c49f68..d5e601b72 100644 --- a/lib/optimize/OccurrenceOrderPlugin.js +++ b/lib/optimize/OccurrenceOrderPlugin.js @@ -81,4 +81,4 @@ OccurrenceOrderPlugin.prototype.apply = function(compiler) { }); }); }); -}; \ No newline at end of file +}; diff --git a/lib/removeAndDo.js b/lib/removeAndDo.js index 596718159..69843b94b 100644 --- a/lib/removeAndDo.js +++ b/lib/removeAndDo.js @@ -10,4 +10,4 @@ module.exports = function removeAndDo(collection, thing, action) { return true; } return false; -}; \ No newline at end of file +}; diff --git a/lib/web/WebEnvironmentPlugin.js b/lib/web/WebEnvironmentPlugin.js index b3b49d3c9..8ac4710f2 100644 --- a/lib/web/WebEnvironmentPlugin.js +++ b/lib/web/WebEnvironmentPlugin.js @@ -13,4 +13,4 @@ WebEnvironmentPlugin.prototype.apply = function(compiler) { compiler.resolvers.context.fileSystem = inputFileSystem; compiler.resolvers.loader.fileSystem = inputFileSystem; compiler.outputFileSystem = this.outputFileSystem; -}; \ No newline at end of file +}; diff --git a/lib/webworker/WebWorkerTemplatePlugin.js b/lib/webworker/WebWorkerTemplatePlugin.js index ed40764f2..9c2dd33eb 100644 --- a/lib/webworker/WebWorkerTemplatePlugin.js +++ b/lib/webworker/WebWorkerTemplatePlugin.js @@ -13,4 +13,4 @@ WebWorkerTemplatePlugin.prototype.apply = function(compiler) { compilation.mainTemplate.apply(new WebWorkerMainTemplatePlugin()); compilation.chunkTemplate.apply(new WebWorkerChunkTemplatePlugin()); }); -}; \ No newline at end of file +}; diff --git a/npm-debug.log b/npm-debug.log deleted file mode 100644 index fde284c63..000000000 --- a/npm-debug.log +++ /dev/null @@ -1,38 +0,0 @@ -0 info it worked if it ends with ok -1 verbose cli [ '/Users/thaiat/.nvm/versions/node/v0.12.4/bin/node', -1 verbose cli '/Users/thaiat/.nvm/versions/node/v0.12.4/bin/npm', -1 verbose cli 'run', -1 verbose cli 'lint' ] -2 info using npm@2.10.1 -3 info using node@v0.12.4 -4 verbose run-script [ 'prelint', 'lint', 'postlint' ] -5 info prelint webpack@1.10.1 -6 info lint webpack@1.10.1 -7 verbose unsafe-perm in lifecycle true -8 info webpack@1.10.1 Failed to exec lint script -9 verbose stack Error: webpack@1.10.1 lint: `eslint lib` -9 verbose stack Exit status 1 -9 verbose stack at EventEmitter. (/Users/thaiat/.nvm/versions/node/v0.12.4/lib/node_modules/npm/lib/utils/lifecycle.js:213:16) -9 verbose stack at EventEmitter.emit (events.js:110:17) -9 verbose stack at ChildProcess. (/Users/thaiat/.nvm/versions/node/v0.12.4/lib/node_modules/npm/lib/utils/spawn.js:24:14) -9 verbose stack at ChildProcess.emit (events.js:110:17) -9 verbose stack at maybeClose (child_process.js:1015:16) -9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5) -10 verbose pkgid webpack@1.10.1 -11 verbose cwd /Users/thaiat/Documents/Phonegap/webpack -12 error Darwin 14.4.0 -13 error argv "/Users/thaiat/.nvm/versions/node/v0.12.4/bin/node" "/Users/thaiat/.nvm/versions/node/v0.12.4/bin/npm" "run" "lint" -14 error node v0.12.4 -15 error npm v2.10.1 -16 error code ELIFECYCLE -17 error webpack@1.10.1 lint: `eslint lib` -17 error Exit status 1 -18 error Failed at the webpack@1.10.1 lint script 'eslint lib'. -18 error This is most likely a problem with the webpack package, -18 error not with npm itself. -18 error Tell the author that this fails on your system: -18 error eslint lib -18 error You can get their info via: -18 error npm owner ls webpack -18 error There is likely additional logging output above. -19 verbose exit [ 1, true ]