Z1106264957 最近的时间轴更新
Z1106264957

Z1106264957

V2EX 第 468419 号会员,加入于 2020-02-08 20:32:29 +08:00
Z1106264957 最近回复了
@daolanfler 可以问问那个 NOTION_API_KEY 应该如何获取吗,我不太清楚这个操作流程,不知道该如何创建
请问这个是为啥啊
Run npm start

> [email protected] start
> ts-node ./main.ts

Notion: error from recover cache Error: ENOENT: no such file or directory, open '/home/runner/work/github-notion-star/github-notion-star/.cache/notion-page.json'

/home/runner/work/github-notion-star/github-notion-star/main.ts:30
ENVS.forEach((env) => {
at Object.openSync (node:fs:585:3)
^
AssertionError [ERR_ASSERTION]: NOTION_API_KEY must be added
at /home/runner/work/github-notion-star/github-notion-star/main.ts:31:11
at Object.readFileSync (node:fs:453:35)
at Array.forEach (<anonymous>)
at Object.get (/home/runner/work/github-notion-star/github-notion-star/libs/cache.ts:18:31)
at Object.<anonymous> (/home/runner/work/github-notion-star/github-notion-star/main.ts:30:6)
at new Notion (/home/runner/work/github-notion-star/github-notion-star/libs/notion.ts:19:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.<anonymous> (/home/runner/work/github-notion-star/github-notion-star/libs/notion.ts:132:23)
at Module.m._compile (/home/runner/work/github-notion-star/github-notion-star/node_modules/ts-node/src/index.ts:1225:23)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.m._compile (/home/runner/work/github-notion-star/github-notion-star/node_modules/ts-node/src/index.ts:1225:23)
at Object.require.extensions.<computed> [as .ts] (/home/runner/work/github-notion-star/github-notion-star/node_modules/ts-node/src/index.ts:1228:12)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Object.require.extensions.<computed> [as .ts] (/home/runner/work/github-notion-star/github-notion-star/node_modules/ts-node/src/index.ts:1228:12)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.load (node:internal/modules/cjs/loader:981:32) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/runner/work/github-notion-star/github-notion-star/.cache/notion-page.json'
}
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
Notion: restored from cache, count is 0
Error: Process completed with exit code 1.
29 天前
回复了 Yunsheng 创建的主题 推广 今年最后一次送水果啦,分子冲冲冲......
分母+1
666
谢谢楼主邮箱: [email protected]
凑个数
114 天前
回复了 SmartKeyerror 创建的主题 推广 盖楼抽奖 | 感谢 V 站老哥们的认同和鼓励
分母+1111
361 天前
回复了 jamfer 创建的主题 推广 回馈 V2,送一把樱桃红轴的 71 键双模机械键盘
万一呢
2020-10-13 16:02:43 +08:00
回复了 gejun123456 创建的主题 推广 最好的 Mybatis 代码提示, IDEA MybatisCodeHelperPro 插件送激活码
好像挺不错
关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1547 人在线   最高记录 5497   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 00:38 · PVG 08:38 · LAX 17:38 · JFK 20:38
♥ Do have faith in what you're doing.