alloyteam / alloy-worker Goto Github PK
View Code? Open in Web Editor NEW面向事务的高可用 Web Worker 通信框架
面向事务的高可用 Web Worker 通信框架
如果你的项目使用 alloy-Worker 并觉得它不错, 方便的话请留下公司名或网站信息, 以及应用到的场景, 愉快地交流.
示例:
腾讯文档 + https://docs.qq.com/ + 在线表格函数计算
Error: Command failed: mkdir -p src/
The syntax of the command is incorrect.
at checkExecSyncError (child_process.js:790:11)
at execSync (child_process.js:863:15)
at module.exports (D:\rt\reacat-wp5\node_modules\alloy-worker\src\command\eject-script.js:15:5)
at Object.<anonymous> (D:\rt\reacat-wp5\node_modules\alloy-worker\src\command\index.js:27:5)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
status: 1,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(41) [Uint8Array] [
84, 104, 101, 32, 115, 121, 110, 116, 97,
120, 32, 111, 102, 32, 116, 104, 101, 32,
99, 111, 109, 109, 97, 110, 100, 32, 105,
115, 32, 105, 110, 99, 111, 114, 114, 101,
99, 116, 46, 13, 10
]
],
pid: 22176,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(41) [Uint8Array] [
84, 104, 101, 32, 115, 121, 110, 116, 97,
120, 32, 111, 102, 32, 116, 104, 101, 32,
99, 111, 109, 109, 97, 110, 100, 32, 105,
115, 32, 105, 110, 99, 111, 114, 114, 101,
99, 116, 46, 13, 10
]
}
'pwd' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
child_process.js:866
throw err;
^
Error: Command failed: pwd
'pwd' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
at checkExecSyncError (child_process.js:790:11)
at execSync (child_process.js:863:15)
at Object.<anonymous> (D:\rt\reacat-wp5\node_modules\alloy-worker\src\command\one-script\config.js:13:21)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object.<anonymous> (D:\rt\reacat-wp5\node_modules\alloy-worker\src\command\one-script\check-name.js:6:16) {
status: 1,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(62) [Uint8Array] [
39, 112, 119, 100, 39, 32, 178, 187, 202, 199,
196, 218, 178, 191, 187, 242, 205, 226, 178, 191,
195, 252, 193, 238, 163, 172, 210, 178, 178, 187,
202, 199, 191, 201, 212, 203, 208, 208, 181, 196,
179, 204, 208, 242, 13, 10, 187, 242, 197, 250,
180, 166, 192, 237, 206, 196, 188, 254, 161, 163,
13, 10
]
],
pid: 26848,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(62) [Uint8Array] [
39, 112, 119, 100, 39, 32, 178, 187, 202, 199,
196, 218, 178, 191, 187, 242, 205, 226, 178, 191,
195, 252, 193, 238, 163, 172, 210, 178, 178, 187,
202, 199, 191, 201, 212, 203, 208, 208, 181, 196,
179, 204, 208, 242, 13, 10, 187, 242, 197, 250,
180, 166, 192, 237, 206, 196, 188, 254, 161, 163,
13, 10
]
}
`
我是在template的与src同级的目录下执行 npx alloy-worker eject 命令
node-v : 14.18.0
没有的话就没法直接在 create react app 里用了
webpack5: 支持有时间节点吗?
likes this: https://github.com/sinclairzx81/threadbox
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.