Bonita portal 源码编译(未完成)
首先下载源代码
https://github.com/bonitasoft/bonita-portal-js
以下内容为Github 的安装教程包含我安装过程中遇到的问题。并加以修正
Bonita portal js
Part of bonita portal written using AngularJs
Requirements
- node.js > v6.9.4
- yarn > v0.27.5
- maven > 3.3.9
- phantomjs
- grunt
Development tasks
开始之前先将yarn 设置成淘宝镜像
yarn config set registry http://registry.npm.taobao.org/
在源代码根目录中执行 yarn install
然后是需要漫长的等待。。。
[4/5] Linking dependencies...
[##############################################------------------------------------------------------------] 8100/18653
卡在这里了。。。
yarn install
yarn install v1.6.0
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ bower install
bower[66044]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
1: node::DecodeWrite
2: node::DecodeWrite
3: uv_loop_fork
4: v8::internal::interpreter::BytecodeDecoder::Decode
5: v8::internal::RegExpImpl::Exec
6: v8::internal::RegExpImpl::Exec
7: v8::internal::RegExpImpl::Exec
8: 000002ABF2604281
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
PS E:\JzSoft\BPM\OfficalSource\bonita-portal-js> yarn start
yarn run v1.6.0
$ npm-run-all --parallel dev:* > portaljs@0.0.0 dev:serve E:\JzSoft\BPM\OfficalSource\bonita-portal-js
> grunt serve > portaljs@0.0.0 dev:less E:\JzSoft\BPM\OfficalSource\bonita-portal-js
> watch --wait=1 'npm-run-all --parallel build:*' main/styles > Watching main/styles
''npm-run-all' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
grunt[66456]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
1: node::DecodeWrite
2: node::DecodeWrite
3: uv_loop_fork
4: v8::internal::interpreter::BytecodeDecoder::Decode
5: v8::internal::RegExpImpl::Exec
6: v8::internal::RegExpImpl::Exec
7: v8::internal::RegExpImpl::Exec
8: 00000346D6C84281
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! portaljs@0.0.0 dev:serve: `grunt serve`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the portaljs@0.0.0 dev:serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hyzx8\AppData\Roaming\npm-cache\_logs\2018-05-05T16_02_45_074Z-debug.log
ERROR: dev:serve: None-Zero Exit(134);
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Launch project in development mode
Before running project in development mode, you need to launch a Bonita backend available on URL http://localhost:8080/ Then launch:
yarn start
Project should be running at URL http://localhost:9000/bonita/portaljs/
Launch unit tests
yarn run test
Launch unit tests in watch mode
yarn run test:watch
Launch end to end tests
yarn run e2e
Launch end to end tests in headless mode
yarn run e2e:headless
Build project
yarn run build
Localization
Localization keys can be extracted from source files to an .pot output file (./target/portal-js.pot). To do so, run the following command
yarn run pot
Maven build
Project can also be built using maven
mvn clean package [-Pe2e]
This will build the project, package it in a zip file and, run end to end test if e2e profile is activated
首先下载源代码
https://github.com/bonitasoft/bonita-portal-js
Bonita portal js
Part of bonita portal written using AngularJs
Requirements
- node.js > v6.9.4
- yarn > v0.27.5
- maven > 3.3.9
Development tasks
注意,按照github 教程下一步安装过程中报错
此时需要安装 :phantomjs http://phantomjs.org/download.html 并将 bin 目录添加到环境变量
Please run yarn install
Before launching any of following tasks
这将需要漫长的等待。。。
Launch project in development mode
Before running project in development mode, you need to launch a Bonita backend available on URL http://localhost:8080/ Then launch:
yarn start
Project should be running at URL http://localhost:9000/bonita/portaljs/
Launch unit tests
yarn run test
Launch unit tests in watch mode
yarn run test:watch
Launch end to end tests
yarn run e2e
Launch end to end tests in headless mode
yarn run e2e:headless
Build project
yarn run build
Localization
Localization keys can be extracted from source files to an .pot output file (./target/portal-js.pot). To do so, run the following command
yarn run pot
Maven build
Project can also be built using maven
mvn clean package [-Pe2e]
This will build the project, package it in a zip file and, run end to end test if e2e profile is activated
Bonita portal 源码编译(未完成)的更多相关文章
- 【流媒体开发】VLC Media Player - Android 平台源码编译 与 二次开发详解 (提供详细800M下载好的编译源码及eclipse可调试播放器源码下载)
作者 : 韩曙亮 博客地址 : http://blog.csdn.net/shulianghan/article/details/42707293 转载请注明出处 : http://blog.csd ...
- 源码编译安装nginx及设置开机启动项
1.上传nginx文档:解压到/data目录下,并安装依赖包tar xf nginx-1.20.1.tar.gz -C /data/cd /data/nginx-1.20.1/ && ...
- Android 5.0源码编译问题
如果是自己通过repo和git直接从google官网上download的源码,请忽略这个问题,但是由于google在国内被限制登录,通过这一种方法不是每个人都能download下来源码,通常的做法就是 ...
- Android stdio Apktool源码编译
Android Apktool源码编译 标签(空格分隔): Android Apktool 源码编译 需求 习惯NetBeans调试smali需要用Apktool反编译apk,需要用-d的参数才能生成 ...
- SSH/SSL 源码编译安装简易操作说明
环境:CentOS 6.7 安全加固需求,由于某盟扫描系统主机有SSL系列漏洞,客户要求必须修复: 解决方案:将SSH/SSL升级到最新版本,删除SSL旧版本(实测不删除旧版本某盟扫描无法通过). 当 ...
- Hadoop源码编译过程
一. 为什么要编译Hadoop源码 Hadoop是使用Java语言开发的,但是有一些需求和操作并不适合使用java,所以就引入了本地库(Native Libraries)的概念,通 ...
- World Wind .NET源码编译问题处理
World Wind .NET源码编译问题处理 下载了World_Wind_1.4.0_Source源码(http://worldwindcentral.com/wiki/NASA_World_W ...
- 源码编译安装 MySQL 5.5.x 实践
1.安装cmakeMySQL从5.5版本开始,通过./configure进行编译配置方式已经被取消,取而代之的是cmake工具.因此,我们首先要在系统中源码编译安装cmake工具. # wget ht ...
- Linux 安装node.js ---- 源码编译的方式
一 : 普通用户: 安装前准备环境: 1.检查Linux 版本 命令: cat /etc/redhat-release 2.检查 gcc.gcc-c++ 是否安装过 命令: rpm -q gcc rp ...
随机推荐
- inner join、left join、right join、full join
A表 a1 b1 c1 01 数学 95 02 语文 90 03 英语 80 B表 a2 b2 01 张三 02 李四 04 王五 SQL语句:select A.*,B.* from A inner ...
- linux系统延时和定时任务
系统延时任务延时任务:只做一次的at命令: 系统定时及延时任务 延时任务:**有输出任务**不会输出到终端上而是发送邮件给你/var/mail/root/执行 mail at 时间 ...
- vi或vim下按方向键改变方向变成ABCD这类字符
遇到这种问题肯定很恼火,按方向键改变文本的方向有时候变成输入ABCD,有时候并不是我们想要的结果 解决方法: $ echo "set nocp" >> ~/.vimrc ...
- java——如何通过class调用该类的方法并获得返回值?(反射)
demo: public class T{ public static void main(String[] args) throws Exception{ //获得Person的Class对象 Cl ...
- 移动测试之appium+python 简单例子(五)
# coding=utf-8 from appium import webdriver import time import unittest import os import HTMLTestRun ...
- python get_dummies与cut离散化数据
- RedHat7配置静态IP
1.验证网络管理器状态,Active: active (running)表示正在运行,一般RHEL7都默认安装了. [root@localhost ~]# systemctl status Netwo ...
- Cache一致性协议之MESI
http://blog.csdn.net/muxiqingyang/article/details/6615199 Cache一致性协议之MESI 处理器上有一套完整的协议,来保证Cache一致性.比 ...
- Kudu的Using Apache Kudu with Apache Impala(官网推荐的步骤)
不多说,直接上干货! http://kudu.apache.org/docs/kudu_impala_integration.html http://blog.csdn.net/lovebyz/art ...
- ErlangC 最佳人力效益指标
以平均服务时间(AHT)180秒,顾客来电量每15分钟150通以及服务目标时间在20秒内为例子说明最佳人力效益指标.此假设条件下由Erlang C模拟器的结果如下图, 假设我希望客服中心的期望服务水准 ...