Commit cb2d1f37 authored by ibuler's avatar ibuler

update

parent 12da7150
[
{
"title": "JAVA",
"id": "2",
"folder": true,
"children": [
{
"title": "java-test-1",
"id": "3",
"ip":"192.168.1.1",
"system_users": [
{
"id": 3,
"name": "测试环境web",
"username": "web"
}
]
},
{
"title": "java-test-2",
"id": "4",
"ip":"192.168.1.2",
"system_users": [
{
"id": 3,
"name": "测试环境web",
"username": "web"
}
]
}
]
},
{
"title": "MySQL",
"id": "2",
"folder": true,
"children": [
{
"title": "mysql-1",
"id": "3",
"ip": "192.168.3.1"
},
{
"title": "msyql-master",
"id": "4",
"ip": "192.168.2.3"
}
]
}
]
\ No newline at end of file
......@@ -52,6 +52,13 @@ def leftbar():
return jsonify(response)
@app.route('/api/search')
def search():
with open(os.path.join(API_MOCK_DIR, 'search')) as f:
response = json.load(f)
return jsonify(response)
@app.route('/api/leftbarrightclick')
def leftbarrightclick():
with open(os.path.join(API_MOCK_DIR, 'leftbarrightclick')) as f:
......
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ]
2 info using npm@4.0.1
3 info using node@v4.3.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle bifrost@0.0.1~prestart: bifrost@0.0.1
6 silly lifecycle bifrost@0.0.1~prestart: no script for prestart, continuing
7 info lifecycle bifrost@0.0.1~start: bifrost@0.0.1
8 verbose lifecycle bifrost@0.0.1~start: unsafe-perm in lifecycle true
9 verbose lifecycle bifrost@0.0.1~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/zhouxiaoxia/workspace/sofia/jumpserver-web-terminal/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/zhouxiaoxia/Library/Python/2.7/bin/
10 verbose lifecycle bifrost@0.0.1~start: CWD: /Users/zhouxiaoxia/workspace/sofia/jumpserver-web-terminal
11 silly lifecycle bifrost@0.0.1~start: Args: [ '-c',
11 silly lifecycle 'grunt && tsc && concurrently "npm run tsc:w" "npm run lite" ' ]
12 silly lifecycle bifrost@0.0.1~start: Returned: code: 3 signal: null
13 info lifecycle bifrost@0.0.1~start: Failed to exec start script
14 verbose stack Error: bifrost@0.0.1 start: `grunt && tsc && concurrently "npm run tsc:w" "npm run lite" `
14 verbose stack Exit status 3
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:87:13)
14 verbose stack at EventEmitter.emit (events.js:172: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:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:821:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid bifrost@0.0.1
16 verbose cwd /Users/zhouxiaoxia/workspace/sofia/jumpserver-web-terminal
17 error Darwin 16.3.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
19 error node v4.3.1
20 error npm v4.0.1
21 error code ELIFECYCLE
22 error bifrost@0.0.1 start: `grunt && tsc && concurrently "npm run tsc:w" "npm run lite" `
22 error Exit status 3
23 error Failed at the bifrost@0.0.1 start script 'grunt && tsc && concurrently "npm run tsc:w" "npm run lite" '.
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 bifrost package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error grunt && tsc && concurrently "npm run tsc:w" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs bifrost
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls bifrost
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
{
"name": "bifrost",
"name": "Luna",
"version": "0.0.1",
"description": "Gabriel's web",
"description": "Jumpserver web terminal",
"main": "index.js",
"scripts": {
"start": "grunt && tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
......@@ -14,9 +14,9 @@
},
"repository": {
"type": "git",
"url": "git@code.simcu.com:jumpserver/Bifrost.git"
"url": "https://github.com/jumpserver/luna.git"
},
"author": "liuzheng712",
"author": "liuzheng712,sofia",
"license": "ISC",
"dependencies": {
"@angular/common": "2.0.0-rc.4",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment