gpt4 book ai didi

javascript - npm开始返回错误

转载 作者:行者123 更新时间:2023-12-03 01:26:50 24 4
gpt4 key购买 nike

当我在mean.js 应用程序上运行“npm start”时,我遇到了错误。我将粘贴终端输出和带有错误的文件中的代码。

终端:

/Users/developer/dev-projects/Central-Repo/node_modules/rcloader/index.js:39
if (err) throw err;
^

Error: ENOENT: no such file or directory, open '.csslintrc'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meanjs@0.6.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meanjs@0.6.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/developer/.npm/_logs/2018-07-24T09_18_22_923Z-debug.log

Index.js:(第10行代码错误)

var defaultFileGiven = (config.defaultFile !== undefined);
if (defaultFileGiven) {
if (finder.canLoadSync) {
assign(config, finder.get(config.defaultFile));
} else {
// push callbacks here that need to wait for config to load
configPending = [];
// force the async loader
finder.get(config.defaultFile, function (err, defaults) {
if (err) throw err;
assign(config, defaults);

// clear the configPending queue
var cbs = configPending;
configPending = null;
cbs.forEach(function (cb) { cb(); });
});
}

}

最佳答案

您的项目文件夹中似乎没有 .csslintrc 文件。您可以从 master 分支重新下载并重试。

关于javascript - npm开始返回错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51496672/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com