Skip to content
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

Error: Call PluginError using new #12

Open
pixelshaded opened this issue Jun 19, 2015 · 1 comment
Open

Error: Call PluginError using new #12

pixelshaded opened this issue Jun 19, 2015 · 1 comment

Comments

@pixelshaded
Copy link

var gulp = require('gulp');
var nodeInspector = require('gulp-node-inspector');
var cfg = require('../src/precompile/asset-config');

var taskName = 'node-inspector';
var nodeInspectorConfig = {
  webPort: 8080,
  webHost: 'localhost',
  debugPort: cfg.nodemon.debugPort,
  saveLiveEdit: true,
  hidden: ['node_modules']
};

gulp.task(taskName, function(callback){
  gulp.src([])
    .pipe(nodeInspector(nodeInspectorConfig));
});

Should be a simple fix on the emit 'error' event on line 34 of index.js.

Error: Call PluginError using new
    at PluginError (C:\repo\IgnitionOne\stable\prototype-coresettings\node_modules\gulp-util\lib\PluginError.js:33:45)
    at DebugServer.<anonymous> (C:\repo\IgnitionOne\stable\prototype-coresettings\node_modules\gulp-node-inspector\index.js:34:28)
    at DebugServer.emit (events.js:107:17)
    at DebugServer.handleServerError (C:\repo\IgnitionOne\stable\prototype-coresettings\node_modules\gulp-node-inspector\node_modules\node-inspector\lib\debug-server.js:32:8)
    at WebSocketServer.emit (events.js:107:17)
    at Server.<anonymous> (C:\repo\IgnitionOne\stable\prototype-coresettings\node_modules\gulp-node-inspector\node_modules\node-inspector\node_modules\ws\lib\WebSocketServer.js:65:12)
    at Server.emit (events.js:129:20)
    at net.js:1114:14
    at process._tickDomainCallback (node.js:381:11)
@Venegrad
Copy link

Venegrad commented Jan 9, 2020

same error but with tiny-png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants