Automattic / Automattic/kue

Error: Failed to lookup view "error" in views directory "...\node_modules\kue\lib\http/views"

Open
#1,104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

Hi i'm using Window 7 OS with Node version 6.11.0, i got this error frequently when i call `jobs.shutdown` function like

jobs.shutdown(function(err) {
console.log(err || '[ All jobs finished. ]');
});

and jobs stop working.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on Windows 7 with Node 6.11.0 by calling jobs.shutdown as shown. Start by tracing the lookup of the error view under node_modules/kue/lib/http/views and the shutdown path; done means the reported view error is explained and shutdown no longer leaves jobs stopped unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.