when i try to setup my app using npm `suitecloul/c...
# sdf
w
when i try to setup my app using npm
suitecloul/cli
to my netsuite account i get an error that i need to return an
ActionResult
, I have all the prerequisites installed and I am using Ubuntu, what could be the problem?
a
Can you share the exact error?
w
Thank you for responding!   0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/home/tzvi/.nvm/versions/node/v14.11.0/bin/node', 1 verbose cli '/home/tzvi/.nvm/versions/node/v14.11.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'setup' 1 verbose cli ] 2 info using npm@6.14.8 3 info using node@v14.11.0 4 verbose run-script [ 'presetup', 'setup', 'postsetup' ] 5 info lifecycle npp-netsuite-payment-processor@1.0.0~presetup: npp-netsuite-payment-processor@1.0.0 6 info lifecycle npp-netsuite-payment-processor@1.0.0~setup: npp-netsuite-payment-processor@1.0.0 7 verbose lifecycle npp-netsuite-payment-processor@1.0.0~setup: unsafe-perm in lifecycle true 8 verbose lifecycle npp-netsuite-payment-processor@1.0.0~setup: PATH: /home/tzvi/.nvm/versions/node/v14.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/home/tzvi/Documents/npp netsuite payment processor/node modules/.bin~/.config/composer/vendor/bin/home/tzvi/.nvm/versions/node/v14.11.0/bin/usr/local/sbin/usr/local/bin/usr/sbin/usr/bin/sbin/bin/usr/games/usr/local/games/snap/bin/home/tzvi/.fzf/bin/opt/mssql-tools/bin/usr/local/android/sdk/tools//usr/local/android/sdk/platform-tools/ 9 verbose lifecycle npp-netsuite-payment-processor@1.0.0~setup: CWD: /home/tzvi/Documents/npp-netsuite-payment-processor 10 silly lifecycle npp-netsuite-payment-processor@1.0.0~setup: Args: [ '-c', 'npm run build && suitecloud account:setup' ] 11 silly lifecycle npp-netsuite-payment-processor@1.0.0~setup: Returned: code: 1 signal: null 12 info lifecycle npp-netsuite-payment-processor@1.0.0~setup: Failed to exec setup script 13 verbose stack Error: npp-netsuite-payment-processor@1.0.0 setup:
npm run build && suitecloud account:setup
13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/home/tzvi/.nvm/versions/node/v14.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js33216) 13 verbose stack at EventEmitter.emit (events.js31420) 13 verbose stack at ChildProcess.<anonymous> (/home/tzvi/.nvm/versions/node/v14.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js5514) 13 verbose stack at ChildProcess.emit (events.js31420) 13 verbose stack at maybeClose (internal/child_process.js104716) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js2875) 14 verbose pkgid npp-netsuite-payment-processor@1.0.0 15 verbose cwd /home/tzvi/Documents/npp-netsuite-payment-processor 16 verbose Linux 5.4.0-29-generic 17 verbose argv "/home/tzvi/.nvm/versions/node/v14.11.0/bin/node" "/home/tzvi/.nvm/versions/node/v14.11.0/bin/npm" "run" "setup" 18 verbose node v14.11.0 19 verbose npm v6.14.8 20 error code ELIFECYCLE 21 error errno 1 22 error npp-netsuite-payment-processor@1.0.0 setup:
npm run build && suitecloud account:setup
22 error Exit status 1 23 error Failed at the npp-netsuite-payment-processor@1.0.0 setup script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]