go-workflow / go-workflow-ui Goto Github PK
View Code? Open in Web Editor NEW仿照钉钉的UI生成,需要配合go-workflow使用
仿照钉钉的UI生成,需要配合go-workflow使用
请问这个go-workflow-UI怎么使用,能否在readme.md里做一下说明
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in C:\GoDevelop\go-workflow-UI\node_modules@babel\helper-compilation-targets\package.json
at applyExports (internal/modules/cjs/loader.js:490:9)
at resolveExports (internal/modules/cjs/loader.js:506:23)
at Function.Module._findPath (internal/modules/cjs/loader.js:634:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:27)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (C:\GoDevelop\go-workflow-UI\node_modules@babel\preset-env\lib\debug.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (C:\GoDevelop\go-workflow-UI\node_modules@babel\preset-env\lib\index.js:11:14)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
@ multi (webpack)-dev-server/client?http://192.168.1.103:8081/sockjs-node (webpack)/hot/dev-server.js ./src/index.js
您好 我clone了您的项目 npm run serve 无法启动
修改:
entry: 'src/index.js',
为
entry: 'src/main.js',
否则无法加载vue
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
⠸ Building for production as library (commonjs,umd,umd-min)...
ERROR Failed to compile with 1 error 下午2:22:38
error in ./src/components/Generator/Main.vue
Module Error (from ./node_modules/eslint-loader/index.js):
/home/dx/frotent/go-workflow-UI-master/src/components/Generator/Main.vue
134:5 error Unexpected console statement no-console
✖ 1 problem (1 error, 0 warnings)
@ ./src/components/Generator/index.js 1:0-31 3:0-27 4:15-24
@ ./src/components/index.js
@ ./src/index.js
@ ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: vue-cli-service build --target lib --dest lib ./src/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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! /home/dx/.npm/_logs/2021-07-12T06_22_38_121Z-debug.log
弄了好久都弄不出来;有没有大神指点一下
原因是process.js里面的iteratorData方法有问题 应该直接去掉这段代码
if (temp.type === 'route') { resultArr.push(temp) } else { var item = { nodeId: temp.nodeId, name: temp.name, type: temp.type, properties: temp.properties } resultArr.push(item) }
在相同的位置加入
resultArr.push(temp)
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.