JasperReports Server - Browse /JasperServer/JasperReports ...

Help: Netlify Deploy Fails on Gatsby Build


Edit 3: it was a stupid simple problem in the end. Added a longer explanation on the Stack Overflow post, but I had an environment variable (ENV=production) set in the Netlify UI that was preventing devDependencies from installing... :(
Edit 2: Just made the repo Public. Here's the branch/PR I'm working on: https://github.com/heyspacetime/spacetime-gatsby/pull/58
Edit 1: Posting this to StackOverflow as well: https://stackoverflow.com/questions/56102455/gatsby-build-fails-on-netlify-deploy

I haven't touched my Gatsby site in two months. So, when I ran updates and added new content and deployed I ran into a breaking error on Netlify build.
Tried many things and spent too many hours on it already. Originally I was using only npm. After banging on that for a while I switched to yarn (in this branch) as was suggested on some online threads. Getting a different error message now with yarn, but still no luck with the deploy to Netlify.
This is probably something stupid simple. And I know I've had deploy/build issues before and fixed them, but... I'm at a loss at this point...
Help me Reddit, you are my only hope

Deploy Error While Using NPM

``` 2:09:26 PM: Build ready to start 2:09:30 PM: build-image version: f628a20a84a12e8a036199dfa9e2a64f8c90870a 2:09:30 PM: build-image tag: v2.8.1 2:09:30 PM: buildbot version: c8334ba7cb0aa1d6e5824dfaae470274a6132dde 2:09:30 PM: Fetching cached dependencies 2:09:30 PM: Starting to download cache of 255.1KB 2:09:30 PM: Finished downloading cache in 100.859398ms 2:09:30 PM: Starting to extract cache 2:09:30 PM: Failed to fetch cache, continuing with build 2:09:30 PM: Starting to prepare the repo for build 2:09:30 PM: No cached dependencies found. Cloning fresh repo 2:09:30 PM: git clone [email protected]:heyspacetime/spacetime-gatsby 2:09:33 PM: Preparing Git Reference pull/57/head 2:09:34 PM: Found netlify.toml. Overriding site configuration 2:09:34 PM: Starting build script 2:09:34 PM: Installing dependencies 2:09:35 PM: Downloading and installing node v8.16.0... 2:09:35 PM: Downloading https://nodejs.org/dist/v8.16.0/node-v8.16.0-linux-x64.tar.xz... 2:09:35 PM: 0.9% 2:09:35 PM:
2:09:35 PM: 26.8% 2:09:36 PM:
2:09:36 PM: 79.0% 2:09:36 PM:
2:09:36 PM: ##################################### 100.0% 2:09:36 PM: Computing checksum with sha256sum 2:09:36 PM: Checksums matched! 2:09:38 PM: Now using node v8.16.0 (npm v6.4.1) 2:09:38 PM: Attempting ruby version 2.3.6, read from environment 2:09:39 PM: Using ruby version 2.3.6 2:09:40 PM: Using PHP version 5.6 2:09:40 PM: Started restoring cached node modules 2:09:40 PM: Finished restoring cached node modules 2:09:40 PM: Installing NPM modules using NPM version 6.4.1 2:10:26 PM: > [email protected] install /opt/build/repo/node_modules/sharp 2:10:26 PM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) 2:10:26 PM: info 2:10:26 PM: sharp 2:10:26 PM: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.4/libvips-8.7.4-linux-x64.tar.gz 2:10:28 PM: > [email protected] install /opt/build/repo/node_modules/phantomjs-prebuilt 2:10:28 PM: > node install.js 2:10:29 PM: PhantomJS not found on PATH 2:10:29 PM: Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 2:10:29 PM: Saving to /opt/buildhome/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 2:10:29 PM: Receiving... 2:10:29 PM: Received 22866K total. 2:10:30 PM: Extracting tar contents (via spawned process) 2:10:33 PM: Removing /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom 2:10:33 PM: Copying extracted folder /opt/buildhome/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1557429030319/phantomjs-2.1.1-linux-x86_64 -> /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom 2:10:33 PM: Writing location.js file 2:10:33 PM: Done. Phantomjs binary available at /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs 2:10:34 PM: > [email protected] postinstall /opt/build/repo/node_modules/cwebp-bin 2:10:34 PM: > node lib/install.js 2:10:35 PM: ✔ cwebp pre-build test passed successfully 2:10:35 PM: > [email protected] postinstall /opt/build/repo/node_modules/mozjpeg 2:10:35 PM: > node lib/install.js 2:10:35 PM: ✔ mozjpeg pre-build test passed successfully 2:10:35 PM: > [email protected] postinstall /opt/build/repo/node_modules/pngquant-bin 2:10:35 PM: > node lib/install.js 2:10:36 PM: ✔ pngquant pre-build test passed successfully 2:10:36 PM: > [email protected] postinstall /opt/build/repo/node_modules/gatsby-telemetry 2:10:36 PM: > node src/postinstall.js 2:10:41 PM: npm WARN optional 2:10:41 PM: SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): 2:10:41 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 2:10:41 PM: added 2406 packages from 1701 contributors and audited 48740 packages in 59.969s 2:10:41 PM: found 6 vulnerabilities (1 low, 5 high) 2:10:41 PM: run npm audit fix to fix them, or npm audit for details 2:10:41 PM: NPM modules installed 2:10:41 PM: Started restoring cached go cache 2:10:41 PM: Finished restoring cached go cache 2:10:41 PM: Installing Go version 1.10 2:10:47 PM: unset GOOS; 2:10:47 PM: unset GOARCH; 2:10:47 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64'; 2:10:47 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64/bin:${PATH}"; 2:10:47 PM: go version >&2; 2:10:47 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.10.linux.amd64.env" 2:10:47 PM: go version go1.10 linux/amd64 2:10:47 PM: Installing missing commands 2:10:47 PM: Verify run directory 2:10:47 PM: Executing user command: npm run build 2:10:48 PM: > [email protected] build /opt/build/repo 2:10:48 PM: > gatsby build 2:10:49 PM: error gatsby build 2:10:49 PM: Build a Gatsby project. 2:10:49 PM: Options: 2:10:49 PM: --verbose Turn on verbose output [boolean] [default: false] 2:10:49 PM: --no-color, --no-colors Turn off the color in output [boolean] [default: false] 2:10:49 PM: --prefix-paths Build site with link paths prefixed (set pathPrefix in your gatsby-config.js). [boolean] [default: false] 2:10:49 PM: --no-uglify Build site without uglifying JS bundles (for debugging). [boolean] [default: false] 2:10:49 PM: --open-tracing-config-file Tracer configuration file (OpenTracing compatible). See https://gatsby.dev/tracing [string] 2:10:49 PM: -h, --help Show help [boolean] 2:10:49 PM: -v, --version Show version number [boolean] 2:10:49 PM: error There was a problem loading the local build command. Gatsby may not be installed. Perhaps you need to run "npm install"? 2:10:49 PM: 2:10:49 PM: Error: Cannot find module 'webpack/lib/RequestShortener' 2:10:49 PM: 2:10:49 PM: - v8-compile-cache.js:159 require 2:10:49 PM: [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20 2:10:49 PM: 2:10:49 PM: - extractWebpackError.js:4 Object. 2:10:49 PM: [repo]/[@pieh]/friendly-errors-webpack-plugin/src/core/extractWebpackError.j s:4:26 2:10:49 PM: 2:10:49 PM: - v8-compile-cache.js:178 Module._compile 2:10:49 PM: [repo]/[v8-compile-cache]/v8-compile-cache.js:178:30 2:10:49 PM: 2:10:49 PM: 2:10:49 PM: npm 2:10:49 PM: ERR! code ELIFECYCLE 2:10:49 PM: npm 2:10:49 PM: ERR! 2:10:49 PM: errno 1 2:10:49 PM: npm ERR! 2:10:49 PM: [email protected] build: gatsby build 2:10:49 PM: npm 2:10:49 PM: ERR! Exit status 1 2:10:49 PM: npm ERR! 2:10:49 PM: npm ERR! Failed at the [email protected] build script. 2:10:49 PM: npm 2:10:49 PM: ERR! This is probably not a problem with npm. There is likely additional logging output above. 2:10:49 PM: npm 2:10:49 PM: ERR! A complete log of this run can be found in: 2:10:49 PM: npm ERR! 2:10:49 PM: /opt/buildhome/.npm/_logs/2019-05-09T19_10_49_396Z-debug.log 2:10:49 PM: Skipping functions preparation step: no functions directory set 2:10:49 PM: Caching artifacts 2:10:49 PM: Started saving node modules 2:10:49 PM: Finished saving node modules 2:10:49 PM: Started saving pip cache 2:10:49 PM: Finished saving pip cache 2:10:49 PM: Started saving emacs cask dependencies 2:10:49 PM: Finished saving emacs cask dependencies 2:10:49 PM: Started saving maven dependencies 2:10:49 PM: Finished saving maven dependencies 2:10:49 PM: Started saving boot dependencies 2:10:49 PM: Finished saving boot dependencies 2:10:49 PM: Started saving go dependencies 2:10:51 PM: Finished saving go dependencies 2:10:53 PM: Error running command: Build script returned non-zero exit code: 1 2:10:53 PM: Failing build: Failed to build site 2:10:53 PM: failed during stage 'building site': Build script returned non-zero exit code: 1 2:10:53 PM: Finished processing build request in 1m23.436145288s 2:10:53 PM: Shutting down logging, 0 messages pending ```

Deploy Error After Switching to Yarn

``` 10:42:15 PM: Build ready to start 10:42:18 PM: build-image version: 8e315e54bc4032a32e73290be556cde4f8348c12 10:42:18 PM: build-image tag: v2.8.2 10:42:18 PM: buildbot version: 1c5d5da2a8a19e94f07a53f82f5c9b010bad1249 10:42:18 PM: Fetching cached dependencies 10:42:18 PM: Failed to fetch cache, continuing with build 10:42:18 PM: Starting to prepare the repo for build 10:42:18 PM: No cached dependencies found. Cloning fresh repo 10:42:18 PM: git clone [email protected]:heyspacetime/spacetime-gatsby 10:42:22 PM: Preparing Git Reference pull/58/head 10:42:22 PM: Found netlify.toml. Overriding site configuration 10:42:22 PM: Starting build script 10:42:22 PM: Installing dependencies 10:42:23 PM: Downloading and installing node v8.16.0... 10:42:23 PM: Downloading https://nodejs.org/dist/v8.16.0/node-v8.16.0-linux-x64.tar.xz... 10:42:24 PM: 0.3% 10:42:24 PM:
10:42:24 PM: 16.3% 10:42:24 PM:
10:42:24 PM: 81.6% 10:42:24 PM:
10:42:24 PM: ################################# 100.0% 10:42:24 PM: Computing checksum with sha256sum 10:42:24 PM: Checksums matched! 10:42:26 PM: Now using node v8.16.0 (npm v6.4.1) 10:42:26 PM: Attempting ruby version 2.3.6, read from environment 10:42:27 PM: Using ruby version 2.3.6 10:42:28 PM: Using PHP version 5.6 10:42:28 PM: Started restoring cached node modules 10:42:28 PM: Finished restoring cached node modules 10:42:28 PM: Started restoring cached yarn cache 10:42:28 PM: Finished restoring cached yarn cache 10:42:28 PM: Installing yarn at version 1.5.1 10:42:28 PM: Installing Yarn! 10:42:28 PM: > Downloading tarball... 10:42:28 PM: [1/2]: https://yarnpkg.com/downloads/1.5.1/yar 10:42:28 PM: n-v1.5.1.tar.gz /tmp/yarn.tar.gz.unnZulZpgP 10:42:28 PM: % Total % Recei 10:42:28 PM: ved % Xferd Average Speed Time Time Time Curr 10:42:28 PM: ent 10:42:28 PM: Dload Upload Total Spent 10:42:28 PM: Left Speed 10:42:28 PM: 0 10:42:28 PM: 0 0 0 0 0 0 0 --:--:-- --:- 10:42:28 PM: -:-- --:--:-- 0 10:42:28 PM: 100 91 100 91 0 0 511 10:42:28 PM: 0 --:--:-- --:--:-- --:--:-- 514 10:42:28 PM: 0 0 0 608 0 0 1591 0 --: 10:42:28 PM: --:-- --:--:-- --:--:-- 1591 10:42:28 PM: 100 914k 100 914k 0 0 1226k 0 --:--:-- --:- 10:42:28 PM: -:-- --:--:-- 1226k 10:42:28 PM: [2/2]: https://yarnpkg.co 10:42:28 PM: m/downloads/1.5.1/yarn-v1.5.1.tar.gz.asc /tmp/yarn.tar.gz.unnZ 10:42:28 PM: ulZpgP.asc 10:42:29 PM: 100 95 100 95 0 0 2061 0 --:--:- 10:42:29 PM: - --:--:-- --:--:-- 2061 10:42:29 PM: 0 0 0 612 0 0 3939 10:42:29 PM: 0 --:--:-- --:--:-- --:--:-- 3939 10:42:29 PM: 0 832 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 10:42:29 PM: 100 832 100 832 0 0 3750 10:42:29 PM: 0 --:--:-- --:--:-- --:--:-- 812k 10:42:29 PM: > Verifying integrity... 10:42:29 PM: gpg: Signature made Mon 26 Feb 2018 07:01:19 PM UTC using RSA key ID B6FF4DE3 10:42:29 PM: gpg: Good signature from "Yarn Packaging [email protected]" 10:42:29 PM: gpg: Note: This key has expired! 10:42:29 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310 10:42:29 PM: Subkey fingerprint: E219 30C4 D0A4 AA46 1858 1F7A E074 D16E B6FF 4DE3 10:42:29 PM: > GPG signature looks good 10:42:29 PM: > Extracting to ~/.yarn... 10:42:29 PM: > Adding to $PATH... 10:42:29 PM: > We've added the following to your /opt/buildhome/.profile 10:42:29 PM: > If this isn't the profile of your current shell then please add the following to your correct profile: 10:42:29 PM: export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" 10:42:29 PM: 10:42:30 PM: > Successfully installed Yarn 1.5.1! Please open another terminal where the yarn command will now be available. 10:42:30 PM: Installing NPM modules using Yarn version 1.5.1 10:42:31 PM: yarn install v1.5.1 10:42:31 PM: [1/4] Resolving packages... 10:42:33 PM: [2/4] Fetching packages... 10:42:55 PM: info [email protected]: The platform "linux" is incompatible with this module. 10:42:55 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. 10:42:55 PM: [3/4] Linking dependencies... 10:42:55 PM: warning " > [email protected]" has incorrect peer dependency "[email protected]". 10:42:55 PM: warning "gatsby > pnp-webpack-plugin > [email protected]" has unmet peer dependency "[email protected]*". 10:42:55 PM: warning "gatsby-plugin-transition-link > babel-preset-gatsby-package > @babel/[email protected]" has unmet peer dependency "@babel/[email protected]7.0.0-0". 10:42:55 PM: warning "gatsby-plugin-transition-link > babel-preset-gatsby-package > @babel/[email protected]" has unmet peer dependency "@babel/[email protected]7.0.0-0". 10:42:55 PM: warning "gatsby-plugin-transition-link > babel-preset-gatsby-package > @babel/plugin-proposal-optional-chaining > @babel/[email protected]" has unmet peer dependency "@babel/[email protected]7.0.0-0". 10:43:05 PM: [4/4] Building fresh packages... 10:43:12 PM: success Saved lockfile. 10:43:12 PM: Done in 41.23s. 10:43:12 PM: NPM modules installed using Yarn 10:43:12 PM: Started restoring cached go cache 10:43:12 PM: Finished restoring cached go cache 10:43:12 PM: Installing Go version 1.10 10:43:18 PM: unset GOOS; 10:43:18 PM: unset GOARCH; 10:43:18 PM: export GOROOT='/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64'; 10:43:18 PM: export PATH="/opt/buildhome/.gimme_cache/versions/go1.10.linux.amd64/bin:${PATH}"; 10:43:18 PM: go version >&2; 10:43:18 PM: export GIMME_ENV="/opt/buildhome/.gimme_cache/env/go1.10.linux.amd64.env" 10:43:18 PM: go version go1.10 linux/amd64 10:43:18 PM: Installing missing commands 10:43:18 PM: Verify run directory 10:43:18 PM: Executing user command: npm run build 10:43:18 PM: > [email protected] build /opt/build/repo 10:43:18 PM: > gatsby build 10:43:20 PM: success open and validate gatsby-configs — 0.011 s 10:43:21 PM: success load plugins — 1.030 s 10:43:21 PM: success onPreInit — 0.118 s 10:43:21 PM: success delete html and css files from previous builds — 0.005 s 10:43:21 PM: success initialize cache — 0.008 s 10:43:21 PM: success copy gatsby files — 0.022 s 10:43:21 PM: success onPreBootstrap — 0.004 s 10:43:22 PM: success source and transform nodes — 0.413 s 10:43:22 PM: success building schema — 0.226 s 10:43:22 PM: success createPages — 0.018 s 10:43:22 PM: success createPagesStatefully — 0.072 s 10:43:22 PM: success onPreExtractQueries — 0.002 s 10:43:22 PM: success update schema — 0.024 s 10:43:22 PM: success extract queries from components — 0.078 s 10:43:22 PM: success run static queries — 0.001 s 10:43:22 PM: success run page queries — 0.019 s — 20/20 1114.65 queries/second 10:43:22 PM: success write out page data — 0.006 s 10:43:22 PM: success write out redirect data — 0.001 s 10:43:23 PM: success Build manifest and related icons — 0.776 s 10:43:23 PM: success onPostBootstrap — 0.778 s 10:43:23 PM: info bootstrap finished - 5.200 s 10:43:42 PM: error Generating JavaScript bundles failed 10:43:42 PM: 10:43:42 PM: Error: ./src/assets/stylesheets/styles.scss 10:43:42 PM: Module build failed (from ./node_modules/gatsby/node_modules/mini-css-extract- plugin/dist/loader.js): 10:43:42 PM: ModuleBuildError: Module build failed (from ./node_modules/sass-loadelib/loa der.js): 10:43:42 PM: Error: ENOENT: no such file or directory, scandir '/opt/build/repo/node_module s/node-sass/vendor' 10:43:42 PM: at Object.fs.readdirSync (fs.js:904:18) 10:43:42 PM: at Object.getInstalledBinaries (/opt/build/repo/node_modules/node-sass/lib /extensions.js:131:13) 10:43:42 PM: at foundBinariesList (/opt/build/repo/node_modules/node-sass/lib/errors.js :20:15) 10:43:42 PM: at foundBinaries (/opt/build/repo/node_modules/node-sass/lib/errors.js:15: 5) 10:43:42 PM: at Object.module.exports.missingBinary (/opt/build/repo/node_modules/node- sass/lib/errors.js:45:5) 10:43:42 PM: at module.exports (/opt/build/repo/node_modules/node-sass/lib/binding.js:1 5:30) 10:43:42 PM: at Object. (/opt/build/repo/node_modules/node-sass/lib/index.js :14:35) 10:43:42 PM: at Module._compile (/opt/build/repo/node_modules/v8-compile-cache/v8-compi le-cache.js:178:30) 10:43:42 PM: at Object.Module._extensions..js (module.js:664:10) 10:43:42 PM: at Module.load (module.js:566:32) 10:43:42 PM: at tryModuleLoad (module.js:506:12) 10:43:42 PM: at Function.Module._load (module.js:498:3) 10:43:42 PM: at Module.require (module.js:597:17) 10:43:42 PM: at require (/opt/build/repo/node_modules/v8-compile-cache/v8-compile-cache .js:159:20) 10:43:42 PM: at Object.sassLoader (/opt/build/repo/node_modules/sass-loadelib/loader. js:46:72) 10:43:42 PM: at runLoaders (/opt/build/repo/node_modules/gatsby/node_modules/webpack/li b/NormalModule.js:301:20) 10:43:42 PM: at /opt/build/repo/node_modules/loader-runnelib/LoaderRunner.js:367:11 10:43:42 PM: at /opt/build/repo/node_modules/loader-runnelib/LoaderRunner.js:233:18 10:43:42 PM: at runSyncOrAsync (/opt/build/repo/node_modules/loader-runnelib/LoaderRu nner.js:143:3) 10:43:42 PM: at iterateNormalLoaders (/opt/build/repo/node_modules/loader-runnelib/Lo aderRunner.js:232:2) 10:43:42 PM: at Array. (/opt/build/repo/node_modules/loader-runnelib/Loade rRunner.js:205:4) 10:43:42 PM: at Storage.finished (/opt/build/repo/node_modules/enhanced-resolve/lib/Cac hedInputFileSystem.js:43:16) 10:43:42 PM: at provider (/opt/build/repo/node_modules/enhanced-resolve/lib/CachedInput FileSystem.js:79:9) 10:43:42 PM: at /opt/build/repo/node_modules/graceful-fs/graceful-fs.js:90:16 10:43:42 PM: at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3) 10:43:42 PM: @ ./src/components/layout.js 6:0-43 10:43:42 PM: @ ./src/pages/services/technical-seo.js 10:43:42 PM: @ ./.cache/async-requires.js 10:43:42 PM: @ ./.cache/production-app.js 10:43:42 PM: 10:43:42 PM: npm 10:43:42 PM: ERR! code ELIFECYCLE 10:43:42 PM: npm ERR! 10:43:42 PM: errno 1 10:43:42 PM: npm 10:43:42 PM: ERR! [email protected] build: gatsby build 10:43:42 PM: npm ERR! Exit status 1 10:43:42 PM: npm ERR! 10:43:42 PM: npm ERR! Failed at the [email protected] build script. 10:43:42 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 10:43:43 PM: npm 10:43:43 PM: ERR! A complete log of this run can be found in: 10:43:43 PM: npm ERR! /opt/buildhome/.npm/_logs/2019-05-11T03_43_42_997Z-debug.log 10:43:43 PM: Skipping functions preparation step: no functions directory set 10:43:43 PM: Caching artifacts 10:43:43 PM: Started saving node modules 10:43:43 PM: Finished saving node modules 10:43:43 PM: Started saving yarn cache 10:43:43 PM: Finished saving yarn cache 10:43:43 PM: Started saving pip cache 10:43:43 PM: Finished saving pip cache 10:43:43 PM: Started saving emacs cask dependencies 10:43:43 PM: Finished saving emacs cask dependencies 10:43:43 PM: Started saving maven dependencies 10:43:43 PM: Finished saving maven dependencies 10:43:43 PM: Started saving boot dependencies 10:43:43 PM: Finished saving boot dependencies 10:43:43 PM: Started saving go dependencies 10:43:44 PM: Finished saving go dependencies 10:43:46 PM: Error running command: Build script returned non-zero exit code: 1 10:43:46 PM: Failing build: Failed to build site 10:43:46 PM: failed during stage 'building site': Build script returned non-zero exit code: 1 10:43:46 PM: Finished processing build request in 1m28.562451072s 10:43:46 PM: Shutting down logging, 0 messages pending ```
submitted by sylvezine to gatsbyjs [link] [comments]

Jack of all trades, Master of none tips?

TL;DR: I had no idea that it'd be this long or that it took 4 hours to type(ADD for you :P). Below is last 4 years journey into programming as a profession with a bunch of unlucky breaks along the way. I've developed a wide range(mostly by circumstance rather than choice) of dev/IT skills but none of them feel strong enough for me to land a regular dev/IT job. I lack relevant degree and the roles that I do get pay min wage for me to do a vast amount of things on my own, I'm in my thirties and want to change that, advice?
Adobe AIFlash - ActionScript on mobile platforms Bit of a background. Sunk myself into a bunch of debt studying for something I was interested(art/design related) in but didn't really have much work opportunities in my country at the time. After graduating(2012) and job hunting for about 8 months, my job at the time(4 years in), I got a call from Learning and Development department about a small flash game I made when I started at the company(I had been doing light programming with flash mostly as a hobby since 2004). So they brought me on to do an e-learning project, I had been playing with Starling(GPU accelerated) which made Adobe AIR on mobiles actually viable. Over the span of a year I learnt a bunch and optimized the app pretty well, going as far as to improve the bitmap font renderer to chunk paragraph of texts effectively when scrolling(ok, performance with flash was still pretty poor in some areas even with the GPU :p), I had tried to push heavy text content to be delivered by PDFs but management was against it. That work benefited since I modified the parser to include symbols/images or interactive content within the text document(all loaded externally for easy edits without compilation by staff, built a basic template engine with some pooling). Anyway, this was all under the table and once it was done to the point of proving itself as successful in field tests I was given the boot ha.
Decided if I can't get hired for what I'm qualified in, I'll get out of my job(actual one without the flash dev) and make my hobby into a career. Welp, thanks to Steve Jobs flash dev demand had really gone downhill(probably a good thing for me).
Exploring new territory - Software Testing Got into a short course that was on software testing, it was poorly taught, I was confused about one thing and told I was wrong, mocked by tutor and students, later to find out through leading industry professionals that were regulars in a google group, that I was actually the one who was right.... That course then had some "test" with little information to assist us that you'd expect on the job(couldn't get answers to any basic questions) to test and find bugs on some poor quality foreign website(supposedly actual free/paid work for the tutors clients/friends). It had gotten to a point I saw no value in it, left the course to teach myself online. Passed the ISTQB exam, went to meetup groups, wasn't really digging the career path(job hunt wise, there wasn't much opportunities based on the piece of paper and basic skills I had, most were after mid/senior or some other complimentary skill). During meetups automated testing sounded interesting though. Overall course was not worth 2k it was charging(didn't pay this though as was government funded initiative due to shortage in software testers....right).
Exploring new territory - C# Tried another short course, this one offered free entry with basic programming skills on the basis you'd make payments towards $5k once you secured a job through the education provider. Sounded great, time to learn C#! Again ran into some quality issues, the tutor who was a Senior dev made multiple poor choices that I questioned, I lost interest/faith once we got to the "group" project at the end, I didn't participate beyond reviewing the code by students and advising on where things could be improved. There was a voluntary project for a real company doing a presentation at a TEDx event, it even had a small 3 figure payment on completion. Three other students also volunteered and I was made lead. I had never touched HTML/JS/CSS before beyond viewing source of pages when I was young. The project involved tweening tweets on a big display in realtime and doing some colour transitions(radial gradient BG) based on colour associated to the hashtag paired with the event tag, and a few other features. I had a good idea how to handle that and confident due to my design studies so took the role none of the other devs wanted, assigned two to the backend and another to a simple bootstrap UI for the iPad(feature dropped as they were unable to deliver declining any help I offered). One of the backend devs did a PHP implementation but dropped out for personal reasons halfway through, the other student tried their best and got some assistance via the tutor to reimplement in C# with SQL(we had to support replays with a timescale for speakers to see how their talk was received.), I assisted where I could but was rather swamped on my end with several unexpected issues that cropped up. I ended up pulling an 80 hour week including being flown to the city the event was held at to provide on-call support.... which was required as someones tweet crashed the database!). At one point I had to quickly make a change to the site with no access to a computer nearby, I FTP'd to the webserver and edited the files on my slow 4 year old android phone. Overall great success, but I found myself really enjoying web dev over C# and microsoft technologies. The class all thought I'd be the first to get a job, I was probably one of the last :)
Self teaching myself web development I spent the next year and a half learning as much as I could about web development, unemployed I would often wake up and read until it was time to sleep, trying out some coding(though not as much as I probably should have done), most of the time it was building an understanding of various topics, analysis paralysis with the abundance of choice which was numbing compared to my ActionScript/Flash days and forming opinions to settle on and learn more about based on my own interests, what I believed/understood to be worth the time or was in demand by employers(didn't buy into PHP or AngularJS despite their job demand), I got into Node.JS and ES6. I wanted to play with Vagrant and Docker, graph databases like Neo4j, NoSQL like MongoDB, different frontend frameworks and tools(as well as the ones with node.js like express/koa, gulp, phantomjs, webpack, etc), template engines, mapbox(similar to google maps), ansible/salt and more. I figured I'd start with something small like doing the backend of the TEDx project with NodeJS and Mongo instead.
Job hunting Often when opportunities presented themselves however, I'd completely drop what I'm doing/learning and try to make the most of those(income or job application tests). Most employers through HR or agencies would turn me down due to no related degree, I'd be told I am not passionate or serious about a career as a developer. The growing gap in employment surely wasn't helping either! I had some success with an application/interview spanning over 2 months for a large company with a web department. I had made it down to the final 5 candidates, my technical test didn't pan out the best, I completely understood the answers the ended up wanting but was having difficulty arriving their based on what they were saying and expecting me to say. This was for a position that would take 3 hours to get their via transport with a mandatory 8am start. I figured if I could land the role I'd be able to move nearby in a month or so. Declined but offered an internship for 3 months to develop a dashboard to track metrics and produce a report. I asked some questions such as will I be responsible for the whole development, can I make my own choices on tech or can we leverage existing solutions instead of from scratch, would I have a mentosupervisor that I can get guidance from if needed). I was told if I have to ask questions like that I'm not right for the job and lost my chance at the internship..
Take a break from web studies/job-searching doing Lua game mods and some Python Little disheartened after the long job hunt and study getting no where, I didn't seem able to compete. I took a break from it all and started creating mods for a popular FPS co-op game. I also created a basic level editor earlier that year that imported the game data(JSON) into Maya(3D content program) with Python, then adjust it or import your own additions and export via Python to Lua that my Lua mod would import and allow for custom levels or other fun spawning prefabs. I decided to take on a challenge and do what no one else had luck with, increasing the max amount of players permitted in a networked level. I probably spent far too much time on that, got something tangible by December, and later in 2016 spent all 4 days of my easter weekend finishing it up for release, it was very popular within the community. Guides, discussions and youtube video's appeared for a while....but this work didn't seem like it'd help with securing a job in where I had put my efforts.
Transitioned from Windows to Linux full time After new years, my laptop running windows 8.1 wouldn't boot, the bootloader corrupted. Turns out it was due to fastboot feature having a random chance to cause that, I spent about 2 days trying to troubleshoot it with my phone browser. The solutions I came across were of no help, I booted into a live CD of linux and backed up what files I could to an external drive. Might as well get back into linux I thought so time to install Ubuntu and see what's changed since 2008. Lots of fun problems to solve, from installers with UEFI compatibility issues(had to learn to change this in BIOS), to installers giving me a black screen because my GTX960m didn't yet have proper support in Nouveau. Not long in I learn about QEMU/KVM for virtualizing Windows on top of linux with near native performance (93-98%) with full access to the GPU via passthrough. Sounds fun, so I learn a bunch and write notes, but there is quite a bit of difficulty following the various sources where some information is useful but others not, decide I might as well convert my notes into a decent markdown blogpost to help others out. By the end of it I had switched to Arch Linux and learnt that despite all other hardware meeting requirements, the mobile GPU writes to the Intel iGPU framebuffer. Accomplishing this at the time was not going to happen :( Continued use of linux especially with Arch involved quite a bit of maintenance and learning.
4 years since initial graduation got my first official dev job at a startup The guy I developed the TEDx project for reached out to me offering work at his Startup. Hell yeah a job, my bank account will finally see something positive :) Unfortunately it wasn't doing web development, but there were two devs working there already and I get paid to code fun IoT/home automation project stuff! Got a computer purchased at local store for me to put together and use that very day. Set it up to run Arch like I have at home, was comfortable in it now and it seemed pretty good for doing dev work on. Those two other devs didn't stick around for long, one was still doing CompSci at uni, they had been working on a Xamarin app to control the various devices in the office with, but kept running into bizarre issues. I didn't know Xamarin or C# well but pitched in where I could, some problems that troubled him were a breeze for me to solve. The other one was a recent graduate doing web development on contract, "cool!" I thought. Unfortunately neither knew how to use git, or familiar with Agile practices, nor cared much for documentation.. I was confused why the web developer used plain CSS and jQuery with all their code in a single JS file. Their HTML was based off some bootstrap template with heavy copy/paste instead of a templated languaged that would avoid the DRYness....little did I know I'd have to later do some maintenance on this without being authorized to fix it since it was functionally working to management and not worth time to refactor for future maintenance work.
Saved company a bunch of money While working there, I learnt a proprietary solution we were using, wrote documentation for it for future developers, multiple times I tried to communicate problems with that vendors software and better alternatives available while being told "deal with it, it's the best in the industry"(without any backing statistics/tests). It wasn't until the issues become glaringly obvious and the high costs to go forward with it(we were on an evaluation license) that management listened to the voice of reason. I did some research so I could back up my claims and presented a very popular and actively developed plus sponsored open source project. I spent time getting familiar with it and how to set it up, what drawbacks/limitations might exist(some features needed work but I believed I could contribute what was needed to get it on par), documenting and being sure that it was a solid replacement among the many other benefits it had going for it over the proprietary vendor solution.
Making tech choices On top of that, I picked up React-Native and Redux which was great to work with using ES6, as a solo developer with what I assume was not an ordinary workload being able to share the same codebase for both iOS and Android(plus any other supported platforms) was a great boon, the performance and dev features/speed were great compared to my other options. The choice also mixed great with my NodeJS background I had been building up prior to the job. I felt I made the right choice, setup some backend services to communicate with the larger open source project with our own additions over websockets to the mobile app. I designed the MVP app similar to my e-learning app from previous work but using JSON instead of YAML, and the JSON was generated/cached based on DB queries. The design gave a modulaflexible UI that adapted between phone and tablet.
Getting familiar with embedded IoT dev with C After that we had a business opportunity to pursue. An electronics engineer reverse engineered some products communication protocol, providing serial connection details and hex codes. It was my job to put together some hardware(Arduino) that would eavesdrop on that communication to the devices touchpad controller and allow us to control the device via the Arduino. I enjoyed learning about some protocols like InfraRed in an earlier project but this was a step up for me, I had never worked with C and struggled with the lack of features I take for granted with scripting/dynamic languages. Parsing the binary/hex output into packets and verifying/identifying them and responding with the correct timing was the biggest hurdle for me. I only had one UART serial connection to work with, having to manually switch between listen/send, with limited buffer for the bytes as well as not blocking the device from updating it's controller and keeping that controller responsive while still being able to inject our own instructions as if we were the controller or device providing updates. Debugging I had no idea how to go about, this was hardware, not what I'm used to where I have breakpoints in code and can view the current state. I did naive debugging with text logging via serial, but this was a bad idea since processing that affected timing causing more bugs! :D It was semi viable in some situations as long as the string was minimal, error codes instead of descriptions or long values.
Feelings of success I got that embedded IoT project to work as we wanted in the end, being controlled by the NodeJS server or mobile phone app, we demo'd the product to the company that owns/sells the device product and they loved it and were amazed at what we achieved. This was a client with big money and international business. I know my code wasn't great but I learnt this and pulled it off in a reasonably short time, I felt proud of this milestone, a company like that being so impressed and seeing value in what I had done almost entirely by myself(didn't have the reverse engineering chops yet). So this was going to go ahead, I enjoyed the project and wanted to learn more so I read up a bunch on MCUs and SBCs, sensors and the like to get a good feel what is out there, what we could do with them, flexible designs for a product so we could provide a similar service for other companies. Management wasn't too happy with their sole developer being distracted by such education efforts and wanted me to focus on other tasks(I did a bunch of this after work in spare time as it really interested me, side note I have a problem where I get rather consumed with what I work on/learn, I'll chalk it up to my ADD). I had done my job creating the MVP, negotiations were to go ahead, so I'm moved back to the core product.
Craving to learn more Management wants to begin beta testing on some hardware they're ordering(small headless servers), anyone(company members only at present) beta testing the product will have to fork out a few hundred for this themselves. I state we could totally test on considerably cheaper hardware with SBCs like Pi's, CHIP($9) or Pine64($29) for example...get the usual no stay out of it. Week or so later hardware arrives.
Linux, filesystems, automation and network installs My next task is to install an OS onto these machines that have no monitor output or keyboard/mouse. Automated PXE install(never actually done it before) sounds good, problem is the network availability from these machines were unreliable on boot. Ran into a few issues, but after learning about PXE(which turned out not to be viable), I came across iPXE. We got a new batch of machines, these newer models BIOS didn't support iPXE like the older ones....burned iPXE image to USB, got a serial console setup and chainloaded the kernel and initial ramdisk over an http server via ipxe script. Had issues with Debian/preseed/drivers but openSUSE went pretty well(planned to later use AutoYast with Ansible to automate the whole thing and get it all in git for traceability). BTRFS on a small SSD though(openSUSE default partition) wasn't a good idea as I soon found myself running out of space, thankfully I had been reading up on the various filesystems with pros/cons prior, especially on BTRFS knowing that was the default and how it's quite different from the usual ones(read about it often on news blogs I follow for years). Dealt with the issue but had some other problems that seemed BTRFS specific with Docker(deploying projects with Docker for the benefits it brings), decided initially I'll stick to what I'm most familiar with EXT4 and repartitioned. Documented, investigated, filed issues along the way.
Burnout, "developers are a dime a dozen", am I cut out for this professionally During that job I had stressed myself into a burnout, I've left out many other things especially on those that I looked into heavily but didn't quite get time to implement, such as CI/CD systems for mobile apps(all planned out and decided on), dev machines(zsh with dot files and package list to install, arch and osx, mostly planned out in anticipation for new devs we were going to bring on a while back), additional projects and protocols to be clued up on, project management processes/workflow(again for new devs that didn't end up happening). I felt this was stretching myself very thin, that I wasn't getting the opportunity to grow in any particularly area for my career, I was okay in various areas and understood things well, but my coding was not to the quality/speed I'd like, I was forgetting things that I'd have to relearn. I complained to management at one point I felt this was unrealistic to expect a developer to cover so many areas(web dev, mobile dev, embedded, sysadmin/devop, design/tech decisions(architecture?), etc) as common place, and task them to frequently switch between these areas/contexts. I was told "Developers are a dime a dozen". I disagreed that anyone sane would be doing all these things for minimum wage(I did like the freedom of development choices and growing my skills, no one else wanted to hire me to code, what's a bit of sanity? ), it was becoming a problem, I didn't sign up for all of this, and thought I'd finally have other developers to work with, maybe even learn from.
Resignation. Where to now I resigned from that job after a meeting revealed how little I was valued(among other things), despite my honest belief that without my efforts they would not have been able to afford the talent needed to achieve where they are today. But now I'm back to the job hunt with an obvious lack of good reference from the company I spent half a year at. I feel I have a broad range of skills, not many employers will be interested as they advertise for more honed skillsets... I might be perfect for a startup, but I'm not fond of the chances going through previous experiences again. Do I try to promote my range of dev/IT skills or do I spend time unemployed until I'm good enough for a junior role in one skillset such as web dev? I'm in my thirties now and would like to earn more than minimum wage doing what I love.
submitted by kwhali to cscareerquestions [link] [comments]

Heroku Selenium Python questions

I only started playing around with heroku this weekend. learned a lot this far but these few things have me stumped.
I noticed that application fails do not show in the logs. For example if my python app throws an exception it does not show in the logs. How do i change this? i have read to use STD out, but not sure if that is correct. I would like everything to output to log.
Trying to get a python selenium app to run for testing i know one can use phantom JS and chromdriver, i have both installed. however when i run my python app in the console on the dashboard i know its failing because it says there is no module named selenium. Im sure there is a configure var i have to set i just don't know what it is.
I just need this app to run, on repeat. any help would be greatly appreciated. just need to get it load a web page. I Dont care which engine it uses chrome or phantomJS.
Running ceder 14 code linked with dropbox
CHROMEDRIVER_PATH /app/.chromedrivebin/chromedriver
GOOGLE_CHROME_BIN /app/.apt/usbin/google-chrome
LD_LIBRARY_PATH /uslocal/lib:/uslib:/lib:/app/vendophantomjs/lib
PATH /uslocal/bin:/usbin:/bin:/app/vendophantomjs/bin
build packs:
from selenium import webdriver # browser = webdriver.PhantomJS() # This does not throw an exception if it got a 404 #browser.get("http://www.google.com") #html = browser.page_source #print html chrome_options = Options() chrome_options.binary_location = GOOGLE_CHROME_BIN chrome_options.add_argument('--disable-gpu') chrome_options.add_argument('--no-sandbox') driver = webdriver.Chrome(executable_path=CHROMEDRIVER_PATH, chrome_options=chrome_options) driver.get('https://automatetheboringstuff.com') html = browser.page_source print html 
submitted by Helgi_Hundingsbane to Heroku [link] [comments]

New to R, need help with data frame

I am really new to R (as in, started playing around in it last week) and have had a professor ask me to write a program to scrape data from a Forbes list and export to .csv as a table. (Not for an assignment, just as a help for research)
I figured out the code to scrape the information, and how to call up the webpage/click the continue button. However, I cannot figure out (a) how to repeat that for all 91 pages and (b) how to organize the information into a table (ideally with separate columns for rank, major name, early career pay, mid-career pay, pay growth, high meaning, high satisfaction, low stress, and employment projection).
Any help would be great, including any resources that I may be missing in my google searches.
The code I have so far:

Opens browser and webpage

library(RSelenium) rD <- rsDriver(browser = "phantomjs") ChromeOptions options = new ChromeOptions() options.setBinary("C:\Users\mmbecker\Downloads\chromedriver_win32 (1)") DesiredCapabilities capabilities = DesiredCapabilities.chrome() capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions) WebDriver driver = new ChromeDriver(capabilities) remDr <- rD[["client"]] { "noSandbox" } remDr$open() remDr$navigate("http://www3.forbes.com/leadership/the-best-and-worst-masters-degrees-for-jobs-in-2017/2/")

pulls and splits all of the pertinent information into names/numbers

library('rvest') url<-'http://www3.forbes.com/leadership/the-best-and-worst-masters-degrees-for-jobs-in-2017/2/' webpage <- read_html(url) rank_data_html<- html_nodes(webpage, 'p+ p strong') rank_data<- html_text(rank_data_html) is.character(rank_data) TRUE head(rank_data) unlist(strsplit(rank_data, "[.]"))
stat_data_html<- html_nodes(webpage,'#content li') stat_data<-html_text(stat_data_html) is.character(stat_data) TRUE head(stat_data) strsplit(stat_data,"[:]")

Clicks continue button

webElem <- remDr$findElement(using = 'css selector', ".continueBtn") webElem$clickElement()
Thank you!
submitted by violetprism to rprogramming [link] [comments]

STAFF: eslint config file

could you tell us the contents of .eslintrc.json file to set up atom so it works like the eslint on cs50?, Thanks
Below is a copy of what should be all the eslint rules. does someone know which ones are turned on in cloud9 for CS50?
 { "ecmaFeatures": { "arrowFunctions": false, // enable arrow functions "binaryLiterals": false, // enable binary literals "blockBindings": false, // enable let and const (aka block bindings) "classes": false, // enable classes "defaultParams": false, // enable default function parameters "destructuring": false, // enable destructuring "forOf": false, // enable for-of loops "generators": false, // enable generators "modules": false, // enable modules and global strict mode "objectLiteralComputedProperties": false, // enable computed object literal property names "objectLiteralDuplicateProperties": false, // enable duplicate object literal properties in strict mode "objectLiteralShorthandMethods": false, // enable object literal shorthand methods "objectLiteralShorthandProperties": false, // enable object literal shorthand properties "octalLiterals": false, // enable octal literals "regexUFlag": false, // enable the regular expression u flag "regexYFlag": false, // enable the regular expression y flag "restParams": false, // enable the rest parameters "spread": false, // enable the spread operator "superInFunctions": false, // enable super references inside of functions "templateStrings": false, // enable template strings "unicodeCodePointEscapes": false, // enable code point escapes "globalReturn": false, // allow return statements in the global scope "jsx": false // enable JSX }, "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "env": { "browser": false, // browser global variables "node": false, // Node.js global variables and Node.js-specific rules "amd": false, // defines require() and define() as global variables as per the amd spec "mocha": false, // adds all of the Mocha testing global variables "jasmine": false, // adds all of the Jasmine testing global variables for version 1.3 and 2.0 "phantomjs": false, // phantomjs global variables "jquery": false, // jquery global variables "prototypejs": false, // prototypejs global variables "shelljs": false // shelljs global variables }, "globals": { // e.g. "angular": true, }, //error "plugins": [ // e.g. "react" (must run `npm install eslint-plugin-react` first), ], "rules": { ////////// Possible Errors ////////// "comma-dangle": 0, // disallow trailing commas in object literals "no-cond-assign": 0, // disallow assignment in conditional expressions "no-console": 0, // disallow use of console (off by default in the node environment) "no-constant-condition": 0, // disallow use of constant expressions in conditions "no-control-regex": 0, // disallow control characters in regular expressions "no-debugger": 0, // disallow use of debugger "no-dupe-args": 0, // disallow duplicate arguments in functions "no-dupe-keys": 0, // disallow duplicate keys when creating object literals "no-duplicate-case": 0, // disallow a duplicate case label "no-empty-character-class": 0, // disallow the use of empty character classes in regular expressions "no-empty": 0, // disallow empty statements "no-ex-assign": 0, // disallow assigning to the exception in a catch block "no-extra-boolean-cast": 0, // disallow double-negation boolean casts in a boolean context "no-extra-parens": 0, // disallow unnecessary parentheses (off by default) "no-extra-semi": 0, // disallow unnecessary semicolons "no-func-assign": 0, // disallow overwriting functions written as function declarations "no-inner-declarations": 0, // disallow function or variable declarations in nested blocks "no-invalid-regexp": 0, // disallow invalid regular expression strings in the RegExp constructor "no-irregular-whitespace": 0, // disallow irregular whitespace outside of strings and comments "no-negated-in-lhs": 0, // disallow negation of the left operand of an in expression "no-obj-calls": 0, // disallow the use of object properties of the global object (Math and JSON) as functions "no-regex-spaces": 0, // disallow multiple spaces in a regular expression literal "no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default) "no-sparse-arrays": 0, // disallow sparse arrays "no-unreachable": 0, // disallow unreachable statements after a return, throw, continue, or break statement "use-isnan": 0, // disallow comparisons with the value NaN "valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default) "valid-typeof": 0, // Ensure that the results of typeof are compared against a valid string "no-unexpected-multiline": 0, // Avoid code that looks like two expressions but is actually one (off by default) ////////// Best Practices ////////// "accessor-pairs": 0, // enforces gettesetter pairs in objects (off by default) "block-scoped-var": 0, // treat var statements as if they were block scoped (off by default) "complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default) "consistent-return": 0, // require return statements to either always or never specify values "curly": 0, // specify curly brace conventions for all control statements "default-case": 0, // require default case in switch statements (off by default) "dot-notation": 0, // encourages use of dot notation whenever possible "dot-location": 0, // enforces consistent newlines before or after dots (off by default) "eqeqeq": 0, // require the use of === and !== "guard-for-in": 0, // make sure for-in loops have an if statement (off by default) "no-alert": 0, // disallow the use of alert, confirm, and prompt "no-caller": 0, // disallow use of arguments.caller or arguments.callee "no-div-regex": 0, // disallow division operators explicitly at beginning of regular expression (off by default) "no-else-return": 0, // disallow else after a return in an if (off by default) "no-empty-label": 0, // disallow use of labels for anything other than loops and switches "no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default) "no-eval": 0, // disallow use of eval() "no-extend-native": 0, // disallow adding to native types "no-extra-bind": 0, // disallow unnecessary function binding "no-fallthrough": 0, // disallow fallthrough of case statements "no-floating-decimal": 0, // disallow the use of leading or trailing decimal points in numeric literals (off by default) "no-implied-eval": 0, // disallow use of eval()-like methods "no-iterator": 0, // disallow usage of __iterator__ property "no-labels": 0, // disallow use of labeled statements "no-lone-blocks": 0, // disallow unnecessary nested blocks "no-loop-func": 0, // disallow creation of functions within loops "no-multi-spaces": 0, // disallow use of multiple spaces "no-multi-str": 0, // disallow use of multiline strings "no-native-reassign": 0, // disallow reassignments of native objects "no-new-func": 0, // disallow use of new operator for Function object "no-new-wrappers": 0, // disallows creating new instances of String, Number, and Boolean "no-new": 0, // disallow use of new operator when not part of the assignment or comparison "no-octal-escape": 0, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251"; "no-octal": 0, // disallow use of octal literals "no-param-reassign": 0, // disallow reassignment of function parameters (off by default) "no-process-env": 0, // disallow use of process.env (off by default) "no-proto": 0, // disallow usage of __proto__ property "no-redeclare": 0, // disallow declaring the same variable more than once "no-return-assign": 0, // disallow use of assignment in return statement "no-script-url": 0, // disallow use of javascript urls "no-self-compare": 0, // disallow comparisons where both sides are exactly the same (off by default) "no-sequences": 0, // disallow use of comma operator "no-throw-literal": 0, // restrict what can be thrown as an exception (off by default) "no-unused-expressions": 0, // disallow usage of expressions in statement position "no-void": 0, // disallow use of void operator (off by default) "no-warning-comments": 0, // disallow usage of configurable warning terms in comments, e.g. TODO or FIXME (off by default) "no-with": 0, // disallow use of the with statement "radix": 0, // require use of the second argument for parseInt() (off by default) "vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default) "wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default) "yoda": 0, // require or disallow Yoda conditions ////////// Strict Mode ////////// "strict": 0, // controls location of Use Strict Directives ////////// Variables ////////// "no-catch-shadow": 0, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment) "no-delete-var": 0, // disallow deletion of variables "no-label-var": 0, // disallow labels that share a name with a variable "no-shadow": 0, // disallow declaration of variables already declared in the outer scope "no-shadow-restricted-names": 0, // disallow shadowing of names such as arguments "no-undef": 0, // disallow use of undeclared variables unless mentioned in a /*global */ block "no-undef-init": 0, // disallow use of undefined when initializing variables "no-undefined": 0, // disallow use of undefined variable (off by default) "no-unused-vars": 0, // disallow declaration of variables that are not used in the code "no-use-before-define": 0, // disallow use of variables before they are defined ////////// Node.js ////////// "handle-callback-err": 0, // enforces error handling in callbacks (off by default) (on by default in the node environment) "no-mixed-requires": 0, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment) "no-new-require": 0, // disallow use of new operator with the require function (off by default) (on by default in the node environment) "no-path-concat": 0, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment) "no-process-exit": 0, // disallow process.exit() (on by default in the node environment) "no-restricted-modules": 0, // restrict usage of specified node modules (off by default) "no-sync": 0, // disallow use of synchronous methods (off by default) ////////// Stylistic Issues ////////// "array-bracket-spacing": 0, // enforce spacing inside array brackets (off by default) "brace-style": 0, // enforce one true brace style (off by default) "camelcase": 0, // require camel case names "comma-spacing": 0, // enforce spacing before and after comma "comma-style": 0, // enforce one true comma style (off by default) "computed-property-spacing": 0, // require or disallow padding inside computed properties (off by default) "consistent-this": 0, // enforces consistent naming when capturing the current execution context (off by default) "eol-last": 0, // enforce newline at the end of file, with no multiple empty lines "func-names": 0, // require function expressions to have a name (off by default) "func-style": 0, // enforces use of function declarations or expressions (off by default) "indent": 0, // this option sets a specific tab width for your code (off by default) "key-spacing": 0, // enforces spacing between keys and values in object literal properties "lines-around-comment": 0, // enforces empty lines around comments (off by default) "linebreak-style": 0, // disallow mixed 'LF' and 'CRLF' as linebreaks (off by default) "max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default) "new-cap": 0, // require a capital letter for constructors "new-parens": 0, // disallow the omission of parentheses when invoking a constructor with no arguments "newline-after-var": 0, // allow/disallow an empty newline after var statement (off by default) "no-array-constructor": 0, // disallow use of the Array constructor "no-continue": 0, // disallow use of the continue statement (off by default) "no-inline-comments": 0, // disallow comments inline after code (off by default) "no-lonely-if": 0, // disallow if as the only statement in an else block (off by default) "no-mixed-spaces-and-tabs": 0, // disallow mixed spaces and tabs for indentation "no-multiple-empty-lines": 0, // disallow multiple empty lines (off by default) "no-nested-ternary": 0, // disallow nested ternary expressions (off by default) "no-new-object": 0, // disallow use of the Object constructor "no-spaced-func": 0, // disallow space between function identifier and application "no-ternary": 0, // disallow the use of ternary operators (off by default) "no-trailing-spaces": 0, // disallow trailing whitespace at the end of lines "no-underscore-dangle": 0, // disallow dangling underscores in identifiers "one-var": 0, // allow just one var statement per function (off by default) "operator-assignment": 0, // require assignment operator shorthand where possible or prohibit it entirely (off by default) "operator-linebreak": 0, // enforce operators to be placed before or after line breaks (off by default) "padded-blocks": 0, // enforce padding within blocks (off by default) "quote-props": 0, // require quotes around object literal property names (off by default) "quotes": 0, // specify whether double or single quotes should be used "semi-spacing": 0, // enforce spacing before and after semicolons "semi": 0, // require or disallow use of semicolons instead of ASI "sort-vars": 0, // sort variables within the same declaration block (off by default) "space-after-keywords": 0, // require a space after certain keywords (off by default) "space-before-blocks": 0, // require or disallow space before blocks (off by default) "space-before-function-paren": 0, // require or disallow space before function opening parenthesis (off by default) "space-in-parens": 0, // require or disallow spaces inside parentheses (off by default) "space-infix-ops": 0, // require spaces around operators "space-return-throw-case": 0, // require a space after return, throw, and case "space-unary-ops": 0, // require or disallow spaces before/after unary operators (words on by default, nonwords off by default) "spaced-comment": 0, // require or disallow a space immediately following the // or /* in a comment (off by default) "wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default) ////////// ECMAScript 6 ////////// "constructor-super": 0, // verify super() callings in constructors (off by default) "generator-star-spacing": 0, // enforce the spacing around the * in generator functions (off by default) "no-this-before-super": 0, // disallow to use this/super before super() calling in constructors (off by default) "no-var": 0, // require let or const instead of var (off by default) "object-shorthand": 0, // require method and property shorthand syntax for object literals (off by default) "prefer-const": 1, // suggest using of const declaration for variables that are never modified after declared (off by default) ////////// Legacy ////////// "max-depth": 0, // specify the maximum depth that blocks can be nested (off by default) "max-len": 0, // specify the maximum length of a line in your program (off by default) "max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default) "max-statements": 0, // specify the maximum number of statement allowed in a function (off by default) "no-bitwise": 0, // disallow use of bitwise operators (off by default) "no-plusplus": 0 // disallow use of unary operators, ++ and -- (off by default) } } 
submitted by rss81 to cs50 [link] [comments]

Free Binary Option Strategy Best Binary Options Strategy ... Free Binary Option Strategy  Forex Binary Indicator ... The HolyGrail of Binary Indicators???? Gold Indicator 2.0 - Massive Indicator for Binary Options ... BINARY OPTIONS BOT QUEIROZ 2.0 - YouTube Best Binary Options Strategy 2020 - 2 Minute Strategy LIVE ... Option Bot 2.0 Review by Binäre Optionen Bot Binary Options Bot Option Bot 2 0 Review - How to use Binary Options Trading Settings Free Download FXXTOOL SIGNAL!!!! FXXTOOL BOT MASTER SIGNAL ... Binary Options Strategy 2020  100% WIN GUARANTEED ...

0. It seems that you're using Windows. You can set an environment variable as shown in this question. Don't forget to reopen terminal after that. For export command to work you'd need to use some unix terminal emulator, for example Git bash which is included with Git for Windows (Git/bin/bash.exe). But the real reason why env var won't work, I suspect, is a misconfiguration of PhantomJS path ... For me the issue appeared to be a new version of the "phantomjs-prebuilt" module which html-pdf relies on. A previous installation relied on version 2.1.13, however the fresh install used 2.1.14. Uninstalling 2.1.14 (npm uninstall phantomjs-prebuilt) and installing 2.1.13 (npm install [email protected]) fixed it for me. 👍 Global options. var conversion = require (" phantom-html-to-pdf ")({ /* number of allocated phantomjs processes */ numberOfWorkers: 2, /* timeout in ms for html conversion, when the timeout is reached, the phantom process is recycled */ timeout: 5000, /* directory where are stored temporary html and pdf files, use something like npm package reaper to clean this up */ tmpDir: " os/tmpdir ... Version 6.2.0 JasperReports Server 6.2.0 added these improvements: 2.4 JasperReports Server Community Release Notes * Jaspersoft Studio. Our advanced report designer has several improvements, including: * The RCP version of Jaspersoft Studio has been updated to Eclipse 4.5. Enhancements to the custom visualization component let you create your own component UI using a JSON file. A new grid ... The launcher assumes that the Chrome binary is available on the system (if in an exotic location, you can provide a CHROME_BIN environment variable). The launcher supports Chromium as well with the Chromium and ChromiumHeadless presets (for the latter, make sure you have version >= 2.2.0). So far so good, but what about running the tests on a ... Running java -jar selenium-server-standalone-2.52.0.jar -help does not hint any possibility of setting the path to the chrome binary (not the chrome driver). The chrome driver capabilities indicate that it's possible to set the binary but I'm not sure how to do it via the command line. 2.0.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.2 1.2.1 1.2.0 Subscribe to releases . HTML to PDF converter that uses phantomjs Homepage npm JavaScript Download. Keywords html, pdf, phantom, phantomjs, nodejs, pdf-converter License MIT Install npm install [email protected] SourceRank 19. Dependencies 1 Dependent packages 264 Dependent repositories 820 Total releases 21 Latest release Sep 27, 2017 First release ... Using with PhantomJS. Prior to version 2.0, HtmlUnit was used to execute specs by default. Starting with version 2.0, PhantomJS is the default. The jasmine-maven-plugin uses the core of the phantomjs-maven-plugin to automatically pull in PhantomJS if it is not currently installed on the system so you do not need to do anything to configure it. If you’d like to use a different version of ... phantomjs.binary. This property points to the engine the server should use to generate dashboards when exporting. For example, if you are using Windows and you expanded the PhantomJS 2.0 ZIP file into the root of your C: drive: phantomjs.binary=C:\\phantomjs-2.0-windows\\phantomjs.exe Phantomjs binary available at D:\nvm\v6.14.4\node_modules\html-pdf\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe + [email protected] added 82 packages from 77 contributors in 79.333s

[index] [17801] [22384] [27040] [4039] [3145] [9538] [22165] [1902] [20086] [23982]

Free Binary Option Strategy Best Binary Options Strategy ...

2 Minutes Strategy Binary Options 2020 (IQ Options) - Duration: 17:06. D ... The Binary Destroyer 7.0 (1 Hour Charts) - Duration: 14:04. TheBinary Destroyer 1,094 views. 14:04 . Best Start To 2020 ... Make sure you check out: http://completecurrencytraderbonus.com/binary-options/binary-options-trading/option-bot-2-0-review How to use option bot settings pr... The road to success through trading IQ option Best Bot Reviews Iq Option 2020 ,We make videos using this softwhere bot which aims to make it easier for you t... Option Bot 2.0, Option Bot 2.0 Review To the Binary Option Bot here http://goo.gl/nF9KRB Wow, there is some s**t on the internet, especially surrounding the ... Free Binary Option Strategy Forex Binary Indicator Discover New Proven Premium Binary Indicator Download: https://provenbinarybot.com/binary-arrow-indica... 🚩Certified Broker!🔔 Sign up to Get 💰Profit Offers💰👉 https://bit.ly/3bKlLys 🚩Automated Binary Options Trading Software 👉 https://bit.ly/2R7faV2 Iq option trad... BINARY OPTIONS BOT QUEIROZ 2.0 Novo Bot Queiroz 2.0 https://app.monetizze.com.br/r/AHA7834181?src=Bot-Queiroz-2.0-Site-Oficial Novo Bot Queiroz 2.0 https://a... Best Binary Options Brokers for this Strategy: 1. 💲💹IQ Option FREE DEMO: http://www.cryptobinarylivingway.com/IQOption1 2. 💲💹Pocket Option FREE DEMO: http MY CONTACT WPP +1 202 996 4205 -THE ONLY AND OWN INDICATOR VERSION Do not hesitate, the first 3 buyers took 10% OFF, so contact me by the following email: bi... Free Download FXXTOOL SIGNAL!!!! FXXTOOL BOT MASTER SIGNAL ALL BINARY OPTION TRADING #binary_options #iq_option_strategy #iq_option Source: https://www.smart...