csploit / client Goto Github PK
View Code? Open in Web Editor NEWThe official web client for the cSploit daemon
The official web client for the cSploit daemon
I've encountered an error while executing npm run build
> [email protected] build /Users/andrea/Desktop/client-master/app
> node build/build.js
Hash: 0ff2198b1357660ce539
Version: webpack 1.14.0
Time: 10059ms
Asset Size Chunks Chunk Names
static/js/manifest.5b6e18552e57cd348d16.js 833 bytes 0 [emitted] manifest
static/js/app.9460d91753ff261d3732.js 7.66 kB 1, 0 [emitted] app
static/js/vendor.c8e7269ee28b9e50b0b5.js 111 kB 2, 0 [emitted] vendor
static/css/app.43051c1195135d9b56aa9b87e35d296b.css 636 bytes 1, 0 [emitted] app
static/js/manifest.5b6e18552e57cd348d16.js.map 8.87 kB 0 [emitted] manifest
static/js/app.9460d91753ff261d3732.js.map 51.6 kB 1, 0 [emitted] app
static/css/app.43051c1195135d9b56aa9b87e35d296b.css.map 1.61 kB 1, 0 [emitted] app
static/js/vendor.c8e7269ee28b9e50b0b5.js.map 893 kB 2, 0 [emitted] vendor
index.html 945 bytes [emitted]
ERROR in ./src/pages/Settings.vue
✘ http://eslint.org/docs/rules/no-unused-vars 'save' is defined but never used
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:31:10
function save() {
^
✘ http://eslint.org/docs/rules/no-undef 'NativeStorage' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:32:3
NativeStorage.setItem("backend_ip", ip);
^
✘ http://eslint.org/docs/rules/quotes Strings must use singlequote
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:32:25
NativeStorage.setItem("backend_ip", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'ip' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:32:39
NativeStorage.setItem("backend_ip", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'NativeStorage' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:33:3
NativeStorage.setItem("backend_user", ip);
^
✘ http://eslint.org/docs/rules/quotes Strings must use singlequote
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:33:25
NativeStorage.setItem("backend_user", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'ip' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:33:41
NativeStorage.setItem("backend_user", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'NativeStorage' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:34:3
NativeStorage.setItem("backend_password", ip);
^
✘ http://eslint.org/docs/rules/quotes Strings must use singlequote
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:34:25
NativeStorage.setItem("backend_password", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'ip' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:34:45
NativeStorage.setItem("backend_password", ip);
^
✘ http://eslint.org/docs/rules/no-undef 'Vue' is not defined
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:35:3
Vue.router.push("/");
^
✘ http://eslint.org/docs/rules/quotes Strings must use singlequote
/Users/andrea/Desktop/client-master/app/src/pages/Settings.vue:35:19
Vue.router.push("/");
^
✘ 12 problems (12 errors, 0 warnings)
Errors:
7 http://eslint.org/docs/rules/no-undef
4 http://eslint.org/docs/rules/quotes
1 http://eslint.org/docs/rules/no-unused-vars
ERROR in ./src/services/NetworkService.js
✘ https://google.com/#q=import%2Fnewline-after-import Expected empty line after import statement not followed by another import
/Users/andrea/Desktop/client-master/app/src/services/NetworkService.js:2:1
import axios from 'axios';
^
✘ http://eslint.org/docs/rules/max-len Line 5 exceeds the maximum line length of 100
/Users/andrea/Desktop/client-master/app/src/services/NetworkService.js:5:1
{ ip_addr: '127.0.0.1', hw_addr: 'aa:bb:cc:dd', first_seen: new Date(), last_seen: new Date(), name: 'localhost' },
^
✘ http://eslint.org/docs/rules/max-len Line 6 exceeds the maximum line length of 100
/Users/andrea/Desktop/client-master/app/src/services/NetworkService.js:6:1
{ ip_addr: '192.168.1.1', hw_addr: 'aa:bb:cc:de', first_seen: new Date(), last_seen: new Date(), name: 'router' },
^
✘ http://eslint.org/docs/rules/arrow-body-style Unexpected block statement surrounding arrow body
/Users/andrea/Desktop/client-master/app/src/services/NetworkService.js:8:19
getHosts: () => {
^
✘ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed
/Users/andrea/Desktop/client-master/app/src/services/NetworkService.js:10:5
},
^
✘ 5 problems (5 errors, 0 warnings)
Errors:
2 http://eslint.org/docs/rules/max-len
1 http://eslint.org/docs/rules/no-trailing-spaces
1 http://eslint.org/docs/rules/arrow-body-style
1 https://google.com/#q=import%2Fnewline-after-import
This is a new error because in the previous version it never happened
I've tried to build the client app with npm run build
but I get this error message:
andrea$ npm run build
> [email protected] build /Users/andrea/Desktop/client-master/app
> node build/build.js
module.js:472
throw err;
^
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/andrea/Desktop/client-master/app/build/check-versions.js:1:76)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v7.4.0
npm ERR! npm v4.1.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'node build/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls app
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! /Users/andrea/Desktop/client-master/app/npm-debug.log
Debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 silly lifecycle [email protected]~prebuild: no script for prebuild, continuing
7 info lifecycle [email protected]~build: [email protected]
8 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/andrea/Desktop/client-master/app/node_modules/.bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle [email protected]~build: CWD: /Users/andrea/Desktop/client-master/app
11 silly lifecycle [email protected]~build: Args: [ '-c', 'node build/build.js' ]
12 silly lifecycle [email protected]~build: Returned: code: 1 signal: null
13 info lifecycle [email protected]~build: Failed to exec build script
14 verbose stack Error: [email protected] build: `node build/build.js`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:885:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/andrea/Desktop/client-master/app
17 error Darwin 15.6.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
19 error node v7.4.0
20 error npm v4.1.1
21 error code ELIFECYCLE
22 error [email protected] build: `node build/build.js`
22 error Exit status 1
23 error Failed at the [email protected] build script 'node build/build.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the app package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node build/build.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs app
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls app
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Hey man, first of all thank you for everything that you've done for this @Silur .
I'm kinda a noob but i wanted to build this client. But i can't. I don't know if the project isn't finished or anything but here are my logs.
Hey i've runned some tests but i got alot of errors, i don't know if this is my fault but here are the logs anyway.
pastebin:
http://pastebin.com/b70Tfk6f
PS. I was able to build the client apk and install it on my s5 :) good job mate
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.