• Hello everyone, I hope you can help me with a problem that I am presenting, maybe it is something simple, but as a new spy I still can't find the solution, this happens when I try to load the image of a map mp_anymap.jpg, the log tells me the following:

    0 info it worked if it ends with ok
    1 verbose cli [
    1 verbose cli   '/usr/bin/node',
    1 verbose cli   '/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js',
    1 verbose cli   'start'
    1 verbose cli ]
    2 info using npm@6.14.5
    3 info using node@v14.3.0
    4 verbose run-script [ 'prestart', 'start', 'poststart' ]
    5 info lifecycle cod4x-webadmin@4.0.1~prestart: cod4x-webadmin@4.0.1
    6 info lifecycle cod4x-webadmin@4.0.1~start: cod4x-webadmin@4.0.1
    7 verbose lifecycle cod4x-webadmin@4.0.1~start: unsafe-perm in lifecycle true
    8 verbose lifecycle cod4x-webadmin@4.0.1~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/html/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    9 verbose lifecycle cod4x-webadmin@4.0.1~start: CWD: /var/www/html
    10 silly lifecycle cod4x-webadmin@4.0.1~start: Args: [ '-c', 'node ./bin/www' ]
    11 silly lifecycle cod4x-webadmin@4.0.1~start: Returned: code: 1  signal: null
    12 info lifecycle cod4x-webadmin@4.0.1~start: Failed to exec start script
    13 verbose stack Error: cod4x-webadmin@4.0.1 start: `node ./bin/www`
    13 verbose stack Exit status 1
    13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
    13 verbose stack     at EventEmitter.emit (events.js:315:20)
    13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
    13 verbose stack     at ChildProcess.emit (events.js:315:20)
    13 verbose stack     at maybeClose (internal/child_process.js:1051:16)
    13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
    14 verbose pkgid cod4x-webadmin@4.0.1
    15 verbose cwd /var/www/html
    16 verbose Linux 4.15.0-101-generic
    17 verbose argv "/usr/bin/node" "/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js" "start"
    18 verbose node v14.3.0
    19 verbose npm  v6.14.5
    20 error code ELIFECYCLE
    21 error errno 1
    22 error cod4x-webadmin@4.0.1 start: `node ./bin/www`
    22 error Exit status 1
    23 error Failed at the cod4x-webadmin@4.0.1 start script.
    23 error This is probably not a problem with npm. There is likely additional logging output above.
    24 verbose exit [ 1, true ]
  • Administrators

    Where do you try to load an image? I don't understand what exactly the issue is and where it happens?

  • it's here



    does not allow me to load the image

  • Administrators

    maybe your image is to large, could be a server side setting, max file size

  • This post is deleted!
Visitors Today
Powered & Designed by NeHo