biz-a-cli 2.3.28 → 2.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/app.js +1 -1
- package/bin/hub.js +1 -1
- package/bin/proxy.js +1 -1
- package/bin/watcher.js +1 -1
- package/envs/env.dev.js +1 -2
- package/envs/env.js +0 -1
- package/log/exception.log +1 -0
- package/package.json +1 -1
package/bin/app.js
CHANGED
|
@@ -119,7 +119,7 @@ yargs(process.argv.slice(2))
|
|
|
119
119
|
printInfo(`===================\n${fileName.toUpperCase()}\n===================`)
|
|
120
120
|
|
|
121
121
|
const minifyResult = uglify.minify(dataFile.toString(), {compress: false, mangle: false})
|
|
122
|
-
if (minifyResult.error ) {throw (`${fileName}
|
|
122
|
+
if (minifyResult.error ) {throw (`${fileName}:${minifyResult.error.line}:${minifyResult.error.col}: ` + minifyResult.error)}
|
|
123
123
|
let jsMinData = minifyResult.code
|
|
124
124
|
jsMinData = jsMinData.replace('module.exports=get;', '') // Ex : at "executeBlockLib.js" of Imamatek App, will throw error. We need this line code for testing or debugging
|
|
125
125
|
const minifiedBuffer = Buffer.from(jsMinData)
|
package/bin/hub.js
CHANGED
package/bin/proxy.js
CHANGED
package/bin/watcher.js
CHANGED
package/envs/env.dev.js
CHANGED
|
@@ -5,8 +5,7 @@ export const envDev = {
|
|
|
5
5
|
CDM_MONGO_LINK: 'mongodb+srv://imm_cdm:' +
|
|
6
6
|
encodeURIComponent('imm@2019') + '@imm-cdm-dev.rf6wr.mongodb.net/?retryWrites=true&w=majority',
|
|
7
7
|
COMPANY_REGISTER: 'companyregister-dev',
|
|
8
|
-
|
|
8
|
+
BIZA_SERVER_LINK: 'https://biz-a-dev-41e7c93a25e5.herokuapp.com'
|
|
9
9
|
// BIZA_SERVER_LINK: 'https://www.ptimf.id/biz-a-dev.com'
|
|
10
10
|
// BIZA_SERVER_LINK: 'http://localhost:3000'
|
|
11
|
-
BIZA_SERVER_LINK: 'http://59.60.1.22:3000'
|
|
12
11
|
};
|
package/envs/env.js
CHANGED
package/log/exception.log
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"date":"Thu Aug 01 2024 17:42:42 GMT+0700 (Indochina Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: client is not defined\nReferenceError: client is not defined\n at Socket.incomingHubCb (file:///C:/agung/source/biza/cli/bin/hubEvent.js:42:9)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at Socket.emitEvent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:553:20)\n at Socket.onevent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:540:18)\n at Socket.onpacket (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:508:22)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js:212:18\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","os":{"loadavg":[0,0,0],"uptime":15074.359},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Program Files\\nodejs\\node_modules\\biz-a-cli\\bin\\hub.js","-s","https://biz-a.herokuapp.com","--sub","bkd","-h","localhost","-p","1204"],"cwd":"C:\\agung\\source\\biza\\cli","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":25290,"external":3808142,"heapTotal":13996032,"heapUsed":12512016,"rss":49754112},"pid":6280,"uid":null,"version":"v20.12.2"},"stack":"ReferenceError: client is not defined\n at Socket.incomingHubCb (file:///C:/agung/source/biza/cli/bin/hubEvent.js:42:9)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at Socket.emitEvent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:553:20)\n at Socket.onevent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:540:18)\n at Socket.onpacket (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:508:22)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js:212:18\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","trace":[{"column":9,"file":"file:///C:/agung/source/biza/cli/bin/hubEvent.js","function":"Socket.incomingHubCb","line":42,"method":"incomingHubCb","native":false},{"column":20,"file":"C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js","function":"Emitter.emit","line":143,"method":"emit","native":false},{"column":20,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.emitEvent","line":553,"method":"emitEvent","native":false},{"column":18,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.onevent","line":540,"method":"onevent","native":false},{"column":22,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.onpacket","line":508,"method":"onpacket","native":false},{"column":20,"file":"C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js","function":"Emitter.emit","line":143,"method":"emit","native":false},{"column":18,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js","function":null,"line":212,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":81,"method":"processTicksAndRejections","native":false}]}
|