Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js ES Lint显示节点_模块的错误_Node.js_Eslint_Hls.js - Fatal编程技术网

Node.js ES Lint显示节点_模块的错误

Node.js ES Lint显示节点_模块的错误,node.js,eslint,hls.js,Node.js,Eslint,Hls.js,我使用rollup作为构建工具。我使用的所有eslint插件都在本地安装到我的文件夹中。 我得到的错误是 [!] (plugin eslint) Error: Failed to load config "standard" to extend from. Referenced from: /home/user/Projects/spl/node_modules/hls.js/.eslintrc.js 如果我把它安装到我的文件夹中,它就可以正常工作。 但我的问题是,为什么我需要为我的node_

我使用rollup作为构建工具。我使用的所有eslint插件都在本地安装到我的文件夹中。 我得到的错误是

[!] (plugin eslint) Error: Failed to load config "standard" to extend from.
Referenced from: /home/user/Projects/spl/node_modules/hls.js/.eslintrc.js
如果我把它安装到我的文件夹中,它就可以正常工作。 但我的问题是,为什么我需要为我的node_模块依赖项安装eslint标准


任何帮助都将不胜感激。

我使用的是eslint 6.8.0节点\u mdules是否已添加到您的
.gitignore
eslintignore
?如果不添加它,请准备添加它似乎不起作用。我从node_modules/hls.js中删除了.eslintrc,并将其删除worked@DevangNaghera您不应该这样做:eslint 6.8.0上的PI am节点是否已添加到
.gitignore
eslintignore
?如果不添加它,请准备添加它似乎不起作用。我从node_modules/hls.js中删除了.eslintrc,并将其删除worked@DevangNaghera你不应该那样做:P