qax-a-team / luwu Goto Github PK
View Code? Open in Web Editor NEW红队基础设施自动化部署工具
License: Apache License 2.0
红队基础设施自动化部署工具
License: Apache License 2.0
虽然使用docker来构建确保依赖不是问题,但是还是有点复杂.
是否可以将redis,psql,前端,后端都集成到一个docker镜像中,然后使用docker-compose进行配置,这样就简单多了.
是因为src/frontend
目录下少了.env
?
cat: .env: No such file or directory
NODE_VERSION=12.18.2
HOSTNAME=26db3963d229
YARN_VERSION=1.22.4
HOME=/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/usr/src/app
> [email protected] build /usr/src/app
> vue-cli-service build
- Building for production...
Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
ERROR Failed to compile with 2 errors5:57:16 AM
error
Template execution failed: ReferenceError: VUE_APP_NAME is not defined
ReferenceError: VUE_APP_NAME is not defined
- index.html:98
/usr/src/app/public/index.html:98:11
- index.html:103 0971.module.exports
/usr/src/app/public/index.html:103:3
- index.js:284
[app]/[html-webpack-plugin]/index.js:284:18
- task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-07T05_57_16_473Z-debug.log
The command '/bin/sh -c env `cat .env | grep -v '^\s*#'` && npm run build' returned a non-zero code: 1
make: *** [Makefile:49: base-frontend-build] Error 1
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.