Anybody seen this in their BAS?
Activating extension 'vscode-mta-tools' failed: Not a valid JSON output: INFO: Running mta for the first time; downloading the actual binary (node:281) UnhandledPromiseRejectionWarning: Error: spawn ETXTBSY at ChildProcess.spawn (internal/child_process.js:403:11) at spawn (child_process.js:553:9) at execBin (/tmp/vscode-unpacked/vscode-mta-tools-1.4.0.vsix/extension/dist/bin/mta:48528:3) at /tmp/vscode-unpacked/vscode-mta-tools-1.4.0.vsix/extension/dist/bin/mta:48544:5 (Use node --trace-warnings ... to show where the warning was created) (node:281) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:281) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Unexpected token I in JSON at position 0
it's an annoyance more than anything.
Request clarification before answering.
Hi Raya,
maybe this will help:
npm config set @sap-ux:registry https://common.repositories.sap.ondemand.com/artifactory/api/npm/uxtools/ npm config set @sap-cds:registry https://common.repositories.sap.ondemand.com/artifactory/api/npm/sap-cds/ npm config set @devx-wing:registry https://common.repositories.sap.ondemand.com/artifactory/api/npm/devx-npm-live/ yarn global add --prefix /extbin/npm/globals --global-folder /extbin/npm/globals/lib @sap/[email protected] @sapui5/[email protected].* FW ERROR: The @sap-cds/cds-editor failed to install because Unable to calculate tarball URL for @sap-cds/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/w5g-wing failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @sap-ux/sap-ux-help-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . [1/4] Resolving packages... FW ERROR: The @devx-wing/vscode-java-test failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/vscode-java-dependency failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @sap-ux/sap-ux-application-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/vscode-redhat-java failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/vscode-java-debug failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @sap-ux/sap-ux-annotation-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/vscode-spring-boot-tools failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @sap-ux/sap-ux-service-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . FW ERROR: The @devx-wing/vscode-java-run failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . warning @sap/generator-fiori > yeoman-generator > mem-fs-editor > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated warning @sap/generator-fiori > yeoman-generator > mem-fs-editor > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated warning @sapui5/generator-sapui5-templates > @sap/consume-services > @sap/wing-service-explorer > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning @sapui5/generator-sapui5-templates > @sap/consume-services > @sap/wing-service-explorer > request > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning @sapui5/generator-sapui5-templates > @sap/consume-services > @sap/wing-service-explorer > request > [email protected]: this library is no longer supported [2/4] Fetching packages... [3/4] Linking dependencies... warning "@sapui5/generator-sapui5-templates > @sap/consume-services > @sap/modules-exploration > [email protected]" has unmet peer dependency "typescript@>=2.0". [4/4] Building fresh packages... warning Error running install script for optional dependency: "/extbin/npm/globals/lib/node_modules/keytar: Command failed. Exit code: 1 Command: prebuild-install || npm run build Arguments: Directory: /extbin/npm/globals/lib/node_modules/keytar Output: prebuild-install WARN install libsecret-1.so.0: cannot open shared object file: No such file or directory npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1624536369995-0.8461434618860655/node but npm is using /usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. > [email protected] build /extbin/npm/globals/lib/node_modules/keytar > node-gyp rebuild /bin/sh: 1: pkg-config: not found gyp: Call to 'pkg-config --libs-only-l libsecret-1' returned exit status 127 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.0-5-cloud-amd64 gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /extbin/npm/globals/lib/node_modules/keytar gyp ERR! node -v v14.16.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/user/.npm/_logs/2021-06-24T12_06_12_315Z-debug.log" info This module is OPTIONAL, you can safely ignore this error warning "@sap/[email protected]" has no binaries warning "@sapui5/[email protected]" has no binaries Installation summary of Yeoman generators, global npm packages, VS Code extensions, and CLIs: Installation summary of the "ext-mckbj-trial/cds-modeller" extension (created by "SAP(MOB-MDE-MBG)"): The @sap-cds/cds-editor failed to install because Unable to calculate tarball URL for @sap-cds/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . Installation summary of the "w5g-wing/w5g-wing" extension: The @devx-wing/w5g-wing failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . Installation summary of the "ext-sap-ux-trial/sap-ux-all-extensions" extension (created by "SAP(CA-UX-IDE)"): The @sap-ux/sap-ux-help-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @sap-ux/sap-ux-application-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @sap-ux/sap-ux-annotation-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @sap-ux/sap-ux-service-modeler-extension failed to install because Unable to calculate tarball URL for @sap-ux/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @sap/generator-fiori node module was installed successfully. Installation summary of the "java-dev-tools/java-dev-tools" extension: The @devx-wing/vscode-java-test failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @devx-wing/vscode-java-dependency failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @devx-wing/vscode-redhat-java failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @devx-wing/vscode-java-debug failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @devx-wing/vscode-spring-boot-tools failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . The @devx-wing/vscode-java-run failed to install because Unable to calculate tarball URL for @devx-wing/[email protected] npm package. yarn info stdout: stderr: {"type":"error","data":"Received invalid response from npm."} . Installation summary of the "ext-hana-tools-trial/hana-runtime-tools" extension (created by "SAP(HAN-BAS)"): The @sap/hana-database-explorer VS Code extension was installed successfully. Installation summary of the "ui5-worklist-app/ui5-worklist-app" extension: The @sapui5/generator-sapui5-templates node module was installed successfully. Finished installing App Studio simple extensions components! Total install time: 39811 milliseconds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.