Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up执行build时报`Entry file slide.md does not exist.` #249
Comments
|
能否帮忙 debug 下: // packages/nodeppt-serve/index.js 里面的这部分,是不是 context 获取错误
const context = process.cwd();
entry = entry || findExisting(context, ['main.js', 'index.js']);
if (!entry) {
console.log(chalk.red(`Failed to locate entry file in ${chalk.yellow(context)}.`));
console.log(chalk.red('Valid entry file should be one of: main.js, index.js.'));
process.exit(1);
}
if (!fs.existsSync(path.resolve(context, entry))) {
console.log(chalk.red(`Entry file ${chalk.yellow(entry)} does not exist.`));
process.exit(1);
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


node --versionnpm --versionnodeppt -v运行时出现的问题为:

我的slide.md内容为
麻烦帮看一下,谢谢啦