上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 88 下一页
摘要: utils/tools.js: const log4js = require('log4js') //日志初始化 const initLog = (app) => { log4js.configure({ appenders: { out: { type: 'console' }, cheese: 阅读全文
posted @ 2021-10-11 11:33 徐同保 阅读(10) 评论(0) 推荐(0) 编辑
摘要: app.js: const express = require('express') const bodyParser = require('body-parser') const cors = require('cors') const history = require('connect-his 阅读全文
posted @ 2021-10-08 17:19 徐同保 阅读(2) 评论(0) 推荐(0) 编辑
摘要: app.js: const express = require('express') const bodyParser = require('body-parser') const cors = require('cors') const history = require('connect-his 阅读全文
posted @ 2021-10-08 16:37 徐同保 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ecosystem.config.js: module.exports = { apps: [ { name: 'app', script: './app.js', watch: true, ignore_watch: ['node_modules'], node_args: ['--inspect 阅读全文
posted @ 2021-10-08 12:05 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: node 打包内存溢出 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory FATAL ERROR: Ineffective mark-com 阅读全文
posted @ 2021-09-30 13:44 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-30 09:53 徐同保 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-30 09:31 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: const app = express() app.get('/', function(req, res) { res.redirect('/air/origin/master/#/light/index/content?id=0') }) 阅读全文
posted @ 2021-09-29 10:13 徐同保 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 使用call调用yarn安装包,防止批处理退出 使用set设置环境变量,代替cross-env branch是变量 call yarn echo install done set MODE_ENV=jenkins set BUILD_PATH=/temp/air/%branch% set PUBLI 阅读全文
posted @ 2021-09-28 15:55 徐同保 阅读(1) 评论(0) 推荐(0) 编辑
摘要: branchTemp是变量 xcopy D:\\Jenkins\\workspace\\air D:\\temp\\air\\%branchTemp%\\ /Y /E 阅读全文
posted @ 2021-09-28 15:51 徐同保 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 88 下一页