Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

Problem with STGJMKINSPECTION app publish

  • 1.  Problem with STGJMKINSPECTION app publish

    Posted Mon February 03, 2025 04:09 PM

    Hello,

    I have copied STGJMKINSPECTION application from development enviroment into production enviroment. I have tried to publish it, but it always goes with an error. When I tried to publish the same application into development enviroment, it worked without any problems. Did anyone have a same problem as me? I will also attach a snippet of error from Docker for better understanding of my problem:

    2025-02-03 16:46:58 Error: Cannot find module '/graphite/.workspace/VSUSTEK-mas.manage.prod.apps.prod.mascluster.online/STGJMKCLEANING/build/app/build/build.json'
    2025-02-03 16:46:58 Require stack:
    2025-02-03 16:46:58 - /graphite/node_modules/@maximo/maxdev-cli/src/commands/package-app.js
    2025-02-03 16:46:58 - /graphite/node_modules/@maximo/maxdev-cli/src/commands/upload-app.js
    2025-02-03 16:46:58 - /graphite/node_modules/@maximo/maxdev-cli/bin/run
    2025-02-03 16:46:58     at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    2025-02-03 16:46:58     at Module._load (node:internal/modules/cjs/loader:984:27)
    2025-02-03 16:46:58     at Module.require (node:internal/modules/cjs/loader:1231:19)
    2025-02-03 16:46:58     at require (node:internal/modules/helpers:179:18)
    2025-02-03 16:46:58     at PackageAppCommand.run (/graphite/node_modules/@maximo/maxdev-cli/src/commands/package-app.js:81:23)
    2025-02-03 16:46:58     at PackageAppCommand.StaticRun [as run] (/graphite/node_modules/@maximo/maxdev-cli/src/lib/CLICommand.js:116:15)
    2025-02-03 16:46:58     at UploadAppCommand.run (/graphite/node_modules/@maximo/maxdev-cli/src/commands/upload-app.js:235:33)
    2025-02-03 16:46:58     at Object.handler (/graphite/node_modules/@maximo/maxdev-cli/bin/run:52:29)
    2025-02-03 16:46:58     at /graphite/node_modules/@maximo/maxdev-cli/node_modules/yargs/build/index.cjs:1:8993
    2025-02-03 16:46:58     at j (/graphite/node_modules/@maximo/maxdev-cli/node_modules/yargs/build/index.cjs:1:4956) {
    2025-02-03 16:46:58   code: 'MODULE_NOT_FOUND',
    2025-02-03 16:46:58   requireStack: [
    2025-02-03 16:46:58     '/graphite/node_modules/@maximo/maxdev-cli/src/commands/package-app.js',
    2025-02-03 16:46:58     '/graphite/node_modules/@maximo/maxdev-cli/src/commands/upload-app.js',
    2025-02-03 16:46:58     '/graphite/node_modules/@maximo/maxdev-cli/bin/run'
    2025-02-03 16:46:58   ]
    2025-02-03 16:46:58 }
    2025-02-03 16:46:58 [2025-02-03T15:46:58.858Z] ERROR: server/29 on 71256e30e98a: 1
    2025-02-03 16:46:58 [2025-02-03T15:46:58.859Z] ERROR: server/29 on 71256e30e98a: 1 (req_id=0f73d303-6db6-411e-a232-2d4ca93aad80)
    2025-02-03 16:47:01 [2025-02-03T15:47:01.592Z]  INFO: server/29 on 71256e30e98a: Find the User ID from the request (req_id=f591c74f-5de2-4ef0-a799-0515ec01f01f)
    2025-02-03 16:47:01 [2025-02-03T15:47:01.592Z]  INFO: server/29 on 71256e30e98a: received a get request to get application STGJMKCLEANING status (req_id=f591c74f-5de2-4ef0-a799-0515ec01f01f)

    I will be glad for every help possible

    Kind regards



    ------------------------------
    Vojtěch Šustek
    ------------------------------