Coder Social home page Coder Social logo

old-blog's People

Contributors

amovah avatar matinkaboli avatar mhemrg avatar msm79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

old-blog's Issues

failed to run docker-compose

Hi

docker-compose fails in step 6 when I try to run it. here's the log. any idea why?

# docker-compose up -d
Building app
Step 1/8 : FROM node:8.9
 ---> 672002a50a0b
Step 2/8 : COPY package.json package-lock.json /app/
 ---> Using cache
 ---> 73f2a582be18
Step 3/8 : WORKDIR /app/
 ---> Using cache
 ---> c01a57e6d1ea
Step 4/8 : RUN npm install
 ---> Using cache
 ---> 465123869e12
Step 5/8 : COPY . /app/
 ---> Using cache
 ---> 6949d34aba30
Step 6/8 : RUN npm run prod
 ---> Running in 58df153ca23b

> [email protected] prod /app
> gulp prod

[16:41:02] Using gulpfile /app/gulpfile.js
[16:41:02] Starting 'clean'...
[16:41:02] Starting 'prod:client'...
[16:41:04] Starting 'prod:server'...
[16:41:04] Finished 'clean' after 1.74 s
[16:41:04] Starting 'copy'...
[16:41:04] Finished 'copy' after 5.07 ms
[16:41:31] Version: webpack 3.11.0
 Asset     Size  Chunks             Chunk Names
app.js  94.4 kB       0  [emitted]  main
[16:41:32] Finished 'prod:server' after 28 s
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! [email protected] prod: `gulp prod`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the [email protected] prod 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/2018-07-29T16_41_57_702Z-debug.log
ERROR: Service 'app' failed to build: The command '/bin/sh -c npm run prod' returned a non-zero code: 137

why are we using gulp? can't we get rid of it?

problem after send post

hi i signup to site and try to send a post after click to submit button i received this massage
{"type":2}

please fix! and thank you for beautiful design .

"npm run prod" throws an error

I've just tried to run npm run prod and it seems has an issue with creating the build/static/uploads folder.

Output:

[10:13:40] 'copy' errored after 167 μs
[10:13:40] Error: ENOENT: no such file or directory, mkdir 'build/static/uploads'
    at fs.mkdirSync (fs.js:885:18)
    at Gulp.gulp.task (/home/mhe/projects/qomosc-blog/gulpfile.js:20:5)
    at module.exports (/home/mhe/projects/qomosc-blog/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/mhe/projects/qomosc-blog/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/mhe/projects/qomosc-blog/node_modules/orchestrator/index.js:214:10)
    at /home/mhe/projects/qomosc-blog/node_modules/orchestrator/index.js:279:18
    at finish (/home/mhe/projects/qomosc-blog/node_modules/orchestrator/lib/runTask.js:21:8)
    at /home/mhe/projects/qomosc-blog/node_modules/orchestrator/lib/runTask.js:43:4
    at <anonymous>

Steps to reproduce:

  • Remove the build folder.
  • npm run prod.

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.