-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错 #6
Comments
你看下你charmingYouYou_smzdm_sign_ql_main目录下有utils.ts文件且文件里面有getProcessEnv这个函数吗 |
测试了一下,发现是重复添加了python的依赖,删除py的三个依赖之后只用nodejs的就不报这个错误了~ |
同样的问题~ |
谢谢大佬的程序 用上了!好用子! |
有兴趣可以试试这个新的脚本,基于 App 接口的签到,并且支持抽奖做任务等功能 https://github.com/hex-ci/smzdm_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开始执行... 2022-10-30 19:11:30
/ql/shell/otask.sh: line 86: [[: 65
5: syntax error in expression (error token is "5")
/ql/data/scripts/charmingYouYou_smzdm_sign_ql_main/index.swap.ts:13
const SMZDM_COOKIE_LIST = getProcessEnv("SMZDM_COOKIE_LIST") || [];
^
TypeError: (0 , utils_1.getProcessEnv) is not a function
at Object. (/ql/data/scripts/charmingYouYou_smzdm_sign_ql_main/index.swap.ts:13:40)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module.m._compile (/root/.local/share/pnpm/global/5/.pnpm/ts-node@10.9.1_typescript@4.8.4/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions. [as .ts] (/root/.local/share/pnpm/global/5/.pnpm/ts-node@10.9.1_typescript@4.8.4/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at phase4 (/root/.local/share/pnpm/global/5/.pnpm/ts-node@10.9.1_typescript@4.8.4/node_modules/ts-node/src/bin.ts:649:14)
at bootstrap (/root/.local/share/pnpm/global/5/.pnpm/ts-node@10.9.1_typescript@4.8.4/node_modules/ts-node/src/bin.ts:95:10)
执行结束... 2022-10-30 19:11:41 耗时 11 秒
The text was updated successfully, but these errors were encountered: