liyupi / mianshiya-public Goto Github PK
View Code? Open in Web Editor NEW干净免费的面试刷题网站,帮助大家拿到满意的 offer!💎 React 前端 + Node 后端 + 云开发全栈项目 by 程序员鱼皮
Home Page: https://www.mianshiya.com
License: MIT License
干净免费的面试刷题网站,帮助大家拿到满意的 offer!💎 React 前端 + Node 后端 + 云开发全栈项目 by 程序员鱼皮
Home Page: https://www.mianshiya.com
License: MIT License
我是在Ubuntu20.04上跑的,已安装过依赖,运行yarn start,会报错:
Error: Cannot find module '~/mianshiya-public/src/pages/User/Login'
详细报错信息如下:
Cannot find module '/home/franckrain/mianshiya-public/src/pages/User/Login'
Require stack:
请问如何解决?
能不能做一个 Docker Compose 文件,把所有需要申请的腾讯云相关鉴权信息放到环境变量里,我们只需要填写,然后 docker conpose up -d 就可以使用了。
请问需要什么技术栈
config中没有找到,代码中也仅看到了云开发相关代码
点击下载,弹出打印框,点击取消,页面会关闭!
正常情况下,点击取消按钮,不应该关闭页面
方便更快的搭建类似网站
req start path = /api/question/list/recommend, clientIp = ::1, params = {"size":12}
req error path = /api/question/list/recommend, clientIp = ::1, params = {"size":12} MyError: 未登录
at getLoginUser (D:\code\mianshiya-public\server\src\service\user\userService.js:17:11)
at exports.main (D:\code\mianshiya-public\server\src\service\question\listRecommendQuestions\index.js:17:29)
at handler (D:\code\mianshiya-public\server\src\server.js:97:24)
at Layer.handle [as handle_request] (D:\code\mianshiya-public\server\node_modules\express\lib\router\layer.js:95:5)
at next (D:\code\mianshiya-public\server\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (D:\code\mianshiya-public\server\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (D:\code\mianshiya-public\server\node_modules\express\lib\router\layer.js:95:5)
at D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:281:22
at Function.process_params (D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:341:12)
at next (D:\code\mianshiya-public\server\node_modules\express\lib\router\index.js:275:10) {
code: 401
}
req start path = /api/user/list/rank, clientIp = ::1, params = {"cycle":1,"countDate":"2022-03-01","pageSize":3}
req error path = /api/user/list/rank, clientIp = ::1, params = {"cycle":1,"countDate":"2022-03-01","pageSize":3} TcbError: secret id error
at Object.exports.E (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\utils.js:29:12)
at processReturn (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\utils.js:67:19)
at Object.exports.default (D:\code\mianshiya-public\server\node_modules@cloudbase\node-sdk\lib\utils\httpRequest.js:377:20)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Query.get (D:\code\mianshiya-public\server\node_modules@cloudbase\database\dist\commonjs\query.js:72:21)
at async exports.main (D:\code\mianshiya-public\server\src\service\user\listUserCycleRank\index.js:20:25)
at async handler (D:\code\mianshiya-public\server\src\server.js:97:18) {
code: 'SIGN_PARAM_INVALID',
终端显示:
(base) PS D:\myWorkspace\IDEA\mianshiya-public\server> yarn start:dev
yarn run v1.22.19
warning package.json: No license field
$ cross-env NODE_ENV=local node src/index.js
server start at 7592, env = local
Redis client connected
但是访问http://localhost:8080/没有反应
Error: connect ETIMEDOUT 157.240.17.35:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '157.240.17.35',
port: 6379
这个错误怎么解决?
辛苦了,我找到了工作,感谢你的网站
@liyupi 你可以尝试https://www.cloudflare.com/ 代理模式,进行dns解析
哥能给开源吗
是否可以给富文本编辑功能支持 mark 标记功能呢?
或者说是否有计划把富文本变成 markdown 编辑?
.
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
● Webpack █████████████████████████ cache (99%)
begin idle
ERROR Failed to compile with 2 errors 9:07:39 AM
error in ./src/.umi-production/core/routes.ts
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/User/Login' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
error in ./src/.umi-production/core/routes.ts
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/addPaper' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
ERROR in ./src/.umi-production/core/routes.ts 17:23-99
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/User/Login' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
@ ./src/.umi-production/umi.ts 9:0-42 25:33-42
ERROR in ./src/.umi-production/core/routes.ts 155:23-97
Module not found: Error: Can't resolve '/home/judge/src/web/mianshiya-public/src/pages/addPaper' in '/home/judge/src/web/mianshiya-public/src/.umi-production/core'
@ ./src/.umi-production/umi.ts 9:0-42 25:33-42
webpack compiled with 2 errors
null
build failed
Error: build failed
at /home/judge/src/web/mianshiya-public/node_modules/@umijs/bundler-webpack/lib/index.js:172:29
at /home/judge/src/web/mianshiya-public/node_modules/@umijs/deps/compiled/webpack/5/bundle5.js:114591:14
at processQueueWorker (/home/judge/src/web/mianshiya-public/node_modules/@umijs/deps/compiled/webpack/5/bundle5.js:114529:6)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
程序员鱼皮,你好,我是程序员布瓜。土豆土豆我是地瓜~
我开发出了一个平台, 云晶-基于云原生技术的云上操作系统: www.yunjingxz.com, 和一款集思维导图,画板,草图在线ppt图表,海报设计等为一体的云端可视化创作工具和知识共创协作,分享,平台: www.drawon.cn 桌案drawon。
每个程序员都需要
一桌在手,创作无忧,以桌会友,
希望跟鱼皮交个朋友,能合作下, 创造**版的谷歌
找不到联系方式和微信,因此采用这样的方式曝光下,看到加微信:loyalman-happy
@all-contributors please add @liyupi for ideas
了解到面试吖网站关停的有关消息,在此提出一种构想用以解决高昂的服务维护费用。具体构想如下:
Github 提供 API 允许通过使用 token 在仓库里发表 issue 或 PR 。我们可以将 issue 或 PR 理解为一个帖子,在此项目里,可以理解为一道题目,一篇文章等。将发表 issue 和 PR 包装成为发表题目,发表文章等功能。issue 和 PR 也拥有一些自带的属性,包括不限制于label、状态。对于PR来说,可以将状态包装为审核状态。将 PR 的某种状态与审核通过和不通过绑定来实现管理员对发布内容的审核。PR 和 issue 本身也提供评论功能,这些也是可以通过 token 实现的。
结合 Github 第三方应用授权登录后获取用户 token,就可以实现内容的发表。由于代码是开源的,所以不必担心网站会用 token 做一些越权的行为。同时在新建第三方应用时应严格限制应用索取的权限,做到非必要不索取。
最后通过使用 Github page,将前端代码部署到仓库里,通过编写 js 代码实现对 Github api 的请求。
如果可以配合 Github action 服务使用,我相信会对该套流程有更多的帮助。
这一整套流程基于 Github 的免费服务,几乎零成本,同时也不必担心 Ddos 等攻击行为。理论上该套流程有实现的可能。
该套流程也可以实现在 Gitee 上,细微处的功能实现上会有不同。
good
您好鱼皮大佬,这个可以不用云开发嘛?登陆可以设置为账号密码登陆嘛?现在前后端可以跑起来,但是登陆,数据库等貌似都有问题,云开发的id也不会设置。或者谁可以帮忙设置呢?有偿,微:TianMing-16888
Error: getaddrinfo ENOTFOUND http://124.2x1.xxx.xxx
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:71:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'http://124.2x1.xxx.xxx'
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.