Foremost I'd like to thank and welcome all the people who are interested in this idea who either commented and\or who up-voted the previous post(s):
@jesta,
@mcsvi,
@cryptogee,
@disbelieve,
@n3bul4,
@cybercodetwins,
@drpuffnstuff,
@discernente,
@velourex,
@mohyeh,
@kevinwong,
@xeldal,
@donkeypong,
@liberosist,
@dunia,
@vcelier,
@pharesim,
@leongkahn,
@wijuwiju,
@theb0red1,
@paulc,
@sidwrites,
@allyouneedtoknow,
@sethlinson ,
@midnas-howler,
@coocoocachoo,
@qed,
@hilarski,
@succ33d11,
@jimmyhmiller,
@thatsweeneyguy,
@jo3potato,
@kakradetome,
@xdauqzaru,
@gbonikz
Special thanks to @jesta,
@hilarski,
@liberosist, and
@vcelier for either sharing and\or up-voting the previous post.
As we all know software questions and answers may take hours of our time to write up and solve. Thanks to @Steemit we have the opportunity to be compensated for those lost hours. We will be building a QnA section similar to StackOverflow using the #steemdevqna tag as a sub-forum to @jesta's already established #steemdev community. The goal of this QnA sub-forum is to build incentive for software engineers and users to post thorough questions, and to allow others to propose their working answers.
Here is a complete e.g. of what a post should look like on the #steemdevqna forum, (pulled from my StackOverflow):
I made some changes to my gulpfile.js. Then I received the following syntax error in my terminal after executing the gulp command:
'version' errored after 657 μs
SyntaxError: Unexpected token }
at Object.parse (native)
at VersionTask.deleteManifestFiles (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:114:29)
at VersionTask.gulpTask (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/VersionTask.js:72:18)
at VersionTask.run (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/Task.js:139:31)
at /var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:60:37
at Array.forEach (native)
at Gulp. (/var/www/html/work/node_modules/laravel-elixir/dist/tasks/GulpBuilder.js:59:54)
at module.exports (/var/www/html/work/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/var/www/html/work/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/var/www/html/work/node_modules/orchestrator/index.js:214:10)
Looking in my public/build/css directory I noticed all my css versions are incorrect.
My gulpfile.js file:
const elixir = require('laravel-elixir');
require('laravel-elixir-vue');
elixir(mix => {
// for the application, after login
mix.sass(['styles.scss','imports.scss'])
.version(['css/styles.css','css/imports.css']);
});
How can further debug or fix this `gulp` error?
TAGS: steemdevqna laravel gulp json css
Here is a complete e.g. of what an answer should look like:
After opening the rev-manifest.json file in the public/build/ directory, I discovered it was somehow missing css/imports-xxxxxxx.css in the json list. I deleted rev-manifest.json and entered the command gulp. Now after opening rev-manifest.json all the css files are listed and the error is gone.
Using the #steemdevqna tag post the questions with your code followed by additional tags e.g.
steemdevqna php functions email imap
steemdevqna python django image file
Thanks to @whd who demonstrated that we can use triple backticks ``` to post html code. e.g.
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
To post other programming languages such as php, python, c++, java, sql, etc. I would suggest using the <pre> </pre> tags e.g.
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) {
$protocol = $_SERVER['SERVER_PROTOCOL'];
if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) {
$protocol = 'HTTP/1.0';
}
}
QnA Community Rules:
Here are numerous tags to use in our questions to help get us started!
Programming languages:
php, cplusplus, python, rubyonrails, csharp, c, java, xcode, android, bash
Web development:
php, html, css, javascript, ajax, nodejs, jquery, json, wordpress, django, laravel, class, oop, functions, enum, variable, syntax, arrays,
Database management should include:
sql, mysql, postgresql, sqlite, phpmyadmin, mysqlworkbench
Operating Systems:
linux, ubuntu, debian, macos, android, windows10, windows8, windows7, windowsvista, windowsxp, windowsdos, os
Applications:
office, openoffice, word, powerpoint, excel, thunderbird, outlook, chrome, firefox, photoshop, adobe, sublime, visualstudio
Networking:
http, https, ftp, ftps, ssh, ssl, tlt, udp, cisco
Hardware:
macbookpro, hdd, ssd, asus, hp, acer, dell, server, router, switch, motherboard, hdmi, vga, soundcard, graphicscard
Cryptocurrency/Blockchain:
crypto, cryptocurrency, blockchain, bitcoin, ethereum, litcoin, ripple, fastcoin, eos, steem
Application-Programming-Interface API:
api, steemapi, facebookapi, twitterapi, instagramapi, pinterestapi, tumblrapi, spotifyapi, visaapi, paypalapi, mastercardapi,
Content Management Systems CMS and Frameworks:
wordpress, joomla, drupal, typo3, laravel, django,
@cybercodetwins wanted me to add:
ar, vr, lot, virtualreality, augmentedreality
These are just some example tags of things I've worked with (long list).
Of course we need hundreds of additional members before we can receive answers to our questions. So my advice is get your programming friends on @Steemit, convert people from StackOverflow, and direct the newbies to the community as well!
View the first sample question and answer I made here!
Cheers to our new idea #steemdevqna and expanding the #steemdev community!
Thomas Fink
P.S. If anyone has contact to the @Steemit platform developers please ask them to add a nicer <html> tag we can use to display code.