- 博客(3)
- 收藏
- 关注
原创 express 源码实现(一)
express 源码实现(一)1.首先说一下大概使用方式const express = require('express'); const app = express(); // 执行函数返回一个app 应用// 发起get 请求app.get('/', function(req, res) { // 结束 返回内容 res.end('home')})app.get('/about', function(req, res) { res.end('about')})//
2020-10-15 17:11:42 338
原创 vscode nodemon打断点
1,修改package.json"scripts": { "debug": "nodemon server.js" }, 2,修改.vscode/launch.json{ "version": "0.2.0", "configurations": [ { "name": "随意", "type": "node", "request": "launch",
2020-10-14 16:51:26 436
原创 remote: error: cannot lock ref ‘refs/heads/dev/mz/dev‘: ‘refs/heads/dev‘ exists; cannot create ‘refs
remote: error: cannot lock ref 'refs/heads/dev/mz/dev': 'refs/heads/dev' exists; cannot create 'refs/heads/dev/mz/dev'To http://xx.xx.xx.xx/xxxx/xx.git原因为:远程有一个分支为dev分支,然后本地新创建了一个分支为dev/mz/dev所以会有问题;解决:git branch -m feature/mz/dev修改分支名称即可!...
2020-10-09 16:53:54 6757 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人