[uni-admin]: fc_function_not_found uni-admin
独孤患者
- 发布:2020-11-10 13:04
- 更新:2021-04-09 03:47
- 阅读:2054
uniCloud admin 基础框架
分类:uniCloud
BlackHeart
[uniClound-admin-test] 17:51:09.276 [阿里云:unicloud-admin-test]正在上传云函数uni-admin...
[uniClound-admin-test] 17:51:10.206 [阿里云:unicloud-admin-test]云函数uni-admin上传失败。失败原因:npm install执行失败.如果云函数目录下存在package-lock.json, node_modules可能会导致 npm install失败, 请删除后重试.
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'D:\develop\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'D:\develop\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
2020-11-10 17:51
BlackHeart
这个问题好像是因为云函数等相关设置上传服务器失败导致的,云空间那里连表都没有,肯定没法登陆创建账户。
云服务:阿里云
HBuilder:2.9.7
2020-11-10 17:54