Skip to content

Cannot find module ‘/node_modules/rsshub/lib/workers_index.js’ #7818

@nmsn

Description

@nmsn

路由地址(不包含参数)

完整路由地址,包含所有必选与可选参数

相关文档地址

预期是什么

const RSSHub = require('rsshub');

RSSHub.init({
    // config
});

RSSHub.request('/bilibili/bangumi/media/9192')
    .then((data) => {
        console.log(data);
    })
    .catch((e) => {
        console.log(e);
    });

This code is used normally

实际发生了什么

Rsshub pageage.json main is "lib/workers_index.js", but I cant`t find this file in my node_modules/rsshub/lib.

部署相关信息

Env Value
OS 1.0.0-master.ea92179
Node version 14.5.0
if Docker, version
  • 额外信息(日志、报错等)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions