Coder Social home page Coder Social logo

qax-a-team / luwu Goto Github PK

View Code? Open in Web Editor NEW
845.0 26.0 153.0 12.09 MB

红队基础设施自动化部署工具

License: Apache License 2.0

Shell 1.34% Dockerfile 0.68% Python 47.86% Mako 0.11% JavaScript 0.30% HTML 0.17% Vue 34.88% TypeScript 11.85% CSS 2.81%
redteam cobaltstrike vpsdeploy csinstall vps

luwu's Issues

前端基础库构建bug

是因为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

构建建议

虽然使用docker来构建确保依赖不是问题,但是还是有点复杂.
是否可以将redis,psql,前端,后端都集成到一个docker镜像中,然后使用docker-compose进行配置,这样就简单多了.

编排报错

师傅,我在编排的过程出现了一个报错信息,想请教一下

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.