Closed errakeshpd closed 5 years ago
$more plagiarism-report/node_modules/@copyleaks/plagiarism-report/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'demoV3' ]
2 info using npm@3.10.10
3 info using node@v6.17.1
4 verbose run-script [ 'predemoV3', 'demoV3', 'postdemoV3' ]
5 info lifecycle @copyleaks/plagiarism-report@1.0.35~predemoV3: @copyleaks/plagiarism-report@1.0.35
6 silly lifecycle @copyleaks/plagiarism-report@1.0.35~predemoV3: no script for predemoV3, continuing
7 info lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: @copyleaks/plagiarism-report@1.0.35
8 verbose lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: unsafe-perm in lifecycle true
9 verbose lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: PATH: /usr/lib/node_modules/npm/bin/n
ode-gyp-bin:/home/appsrxtempus/RoR/plagiarism-report/node_modules/@copyleaks/plagiarism-report/node_m
odules/.bin:/home/appsrxtempus/RoR/plagiarism-report/node_modules/.bin:/usr/local/rvm/gems/ruby-2.6.1
/bin:/usr/local/rvm/gems/ruby-2.6.1@global/bin:/usr/local/rvm/rubies/ruby-2.6.1/bin:/usr/local/cpanel
/3rdparty/lib/path-bin:/usr/local/cpanel/3rdparty/lib/path-bin:/usr/local/cpanel/3rdparty/lib/path-bi
n:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin:/root/bin:/us
r/local/rvm/bin
10 verbose lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: CWD: /home/appsrxtempus/RoR/plagiari
sm-report/node_modules/@copyleaks/plagiarism-report
11 silly lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: Args: [ '-c', 'node ./hosts/v3/demoApp
.js' ]
12 silly lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: Returned: code: 1 signal: null
13 info lifecycle @copyleaks/plagiarism-report@1.0.35~demoV3: Failed to exec demoV3 script
14 verbose stack Error: @copyleaks/plagiarism-report@1.0.35 demoV3: node ./hosts/v3/demoApp.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.node ./hosts/v3/demoApp.js
22 error Exit status 1
23 error Failed at the @copyleaks/plagiarism-report@1.0.35 demoV3 script 'node ./hosts/v3/demoApp.js'
.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the @copyleaks/plagiarism-report package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node ./hosts/v3/demoApp.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs @copyleaks/plagiarism-report
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls @copyleaks/plagiarism-report
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Those logs are from the same issue like your other question?
The previous one was in different platform(shared hosting) and this is on a centos VPS and it is different error than the previous
It is showing like syntax mistake...
I managed to resolve this by doing the following: update nodejs and npm to the latest and declare environment path as: export PATH=/opt/cpanel/ea-nodejs10/bin/:$PATH voila! it works now but no reply from copyleaks! worried...this can put into consistent use?!
Hello doctsh, Thanks for reporting that you solved the issue.
The support on our sdk are limited because it's depending on multiple variables on client side (OS version, shared\not-shared, cloud, ...). We can't support all the configuration, but we can try. For that reason we share our SDKs as fully open source. In that way you can independently solve problems.
[root@server plagiarism-report]# npm run demoV3
/myapp/plagiarism-report/node_modules/@copyleaks/plagiarism-report/hosts/v3/demoApp.js:66 app.get('/download-pdf/v3', async function (req, res) { ^^^^^
SyntaxError: missing ) after argument list at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:549:28) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.runMain (module.js:611:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:160:9)
npm ERR! Linux 2.6.32-042stab123.1 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "demoV3" npm ERR! node v6.17.1 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! @copyleaks/plagiarism-report@1.0.35 demoV3:
node ./hosts/v3/demoApp.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @copyleaks/plagiarism-report@1.0.35 demoV3 script 'node ./hosts/v3/demoApp.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the @copyleaks/plagiarism-report package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./hosts/v3/demoApp.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs @copyleaks/plagiarism-report npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls @copyleaks/plagiarism-report npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /myapp/node_modules/@copyleaks/plagiarism-report/npm-debug.log