qomosc / old-blog Goto Github PK
View Code? Open in Web Editor NEWOpen Source Community Blog
License: MIT License
Open Source Community Blog
License: MIT License
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?
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 .
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:
npm run prod
.
Please Fix This In @media max 768px
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.