downloaded the v2.0.2 source from github
created the two .ts config files for twitter and reddit
$yarn run electron:serve
yarn run v1.22.17
$ vue-cli-service electron:serve
/bin/sh: 1: vue-cli-service: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ok fine. vue-cli is missing:
$npm i vue-cli
$yarn run electron:serve
ERROR Failed to compile with 2 errors 12:58:48 PM
error in ./src/main.ts
Module Error (from ./node_modules/eslint-loader/index.js):
/home/skyrant/Social-Amnesia-2.0.2/src/main.ts
18:11 error Replace `h·=>·h(App)` with `(h)·=>·h(App),` prettier/prettier
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
@ multi (webpack)-dev-server/client?http://10.10.10.51:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
error in ./src/main.ts
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL] /home/skyrant/Social-Amnesia-2.0.2/src/main.ts: Cannot find module '/home/skyrant/Social-Amnesia-2.0.2/node_modules/@babel/compat-data/data/corejs3-shipped-proposals' (While processing: "/home/skyrant/Social-Amnesia-2.0.2/node_modules/@vue/cli-plugin-babel/preset.js")
It still runs but the page is completely WHITE (edge latest version).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0, shrink-to-fit=no">
<link rel="icon" href="[/favicon.ico](http://10.10.10.51:8080/favicon.ico)">
<title>Social Amnesia</title>
<link href="[/js/app.js](http://10.10.10.51:8080/js/app.js)" rel="preload" as="script"><link href="[/js/chunk-vendors.js](http://10.10.10.51:8080/js/chunk-vendors.js)" rel="preload" as="script"><script type="text/javascript" src="http://me.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=wphbPLRJFY59IQiwKVmJrjWOEBoAIuEMJAb8683sRWvwRXmo9Vll_cTglO2p45y3" charset="UTF-8"></script></head>
<body>
<noscript>
<strong>We're sorry but Social Amnesia doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="[/js/chunk-vendors.js](http://10.10.10.51:8080/js/chunk-vendors.js)"></script><script type="text/javascript" src="[/js/app.js](http://10.10.10.51:8080/js/app.js)"></script></body>
</html>
I am about to give up and use the individual tools since this clearly is another example of a bad node app more convoluted than a white puzzle.
But let's give this a shot and install the missing vue presets in the cli-plugin-babel
$yarn upgrade @vue/cli-plugin-babel
$yarn run electron:serve
No type errors found
Version: typescript 3.7.5
Time: 10706ms
App running at:
- Local: http://localhost:8080/
- Network: http://10.10.10.51:8080/
Note that the development build is not optimized.
To create a production build, run yarn build.
⠇ Bundling main process...
DONE Compiled successfully in 814ms 1:09:27 PM
File Size Gzipped
dist_electron/index.js 655.52 KiB 148.75 KiB
Images and other types of assets omitted.
INFO Launching Electron...
Done in 20.52s.
checked the dist_electron directory, only has a index.js file.
ok maybe i should build prod version?
$yarn build
looks successful, dist folder has proper files and structure.
downloaded the v2.0.2 source from github created the two .ts config files for twitter and reddit
$yarn run electron:serve
ok fine. vue-cli is missing:
$npm i vue-cli $yarn run electron:serve
It still runs but the page is completely WHITE (edge latest version).
I am about to give up and use the individual tools since this clearly is another example of a bad node app more convoluted than a white puzzle.
But let's give this a shot and install the missing vue presets in the cli-plugin-babel
$yarn upgrade @vue/cli-plugin-babel $yarn run electron:serve
checked the dist_electron directory, only has a index.js file.
ok maybe i should build prod version?
$yarn build
looks successful, dist folder has proper files and structure.
$serve -s dist
nope, still white page. not working at all.
$rm -rf Social-Amnesia-2.0.2