jomarko opened a new pull request, #2123: URL: https://github.com/apache/incubator-kie-tools/pull/2123
For more details see: - https://github.com/apache/incubator-kie-issues/issues/424 For testing this PR, only these methods should be available, as we are about to test ci command of the unpublished package # 01 npx See this [documentation](https://exploringjs.com/nodejs-shell-scripting/ch_installing-packages.html#npx). It is enough to run: - `cd kie-tools/packages/form-generation-tool` - `npx form-generation-tool` # 02 npm link See this [documentation](https://exploringjs.com/nodejs-shell-scripting/ch_installing-packages.html#npm-link-installing-a-globally-linked-package-locally). - `cd kie-tools/packages/form-generation-tool` - `npm link` - `form-generation-tool` Once done with testing, do `npm uninstall -g` from `kie-tools/packages/form-generation-tool` # 03 npm install [local path] See this [docuementation](https://exploringjs.com/nodejs-shell-scripting/ch_installing-packages.html#installing-unpublished-packages-via-local-paths) I was not able to get this working. Always getting error: ``` 37 silly fetch manifest @kie-tools/form-generation-tool@file:../../../../../github/kie-tools/packages/form-generation-tool 38 silly placeDep ROOT @kie-tools/form-generation-tool@0.0.0 OK for: want: file:../../../../../github/kie-tools/packages/form-generation-tool 39 timing idealTree Completed in 12ms 40 timing command:install Completed in 17ms 41 verbose stack Error: Unsupported URL Type "workspace:": workspace:* 41 verbose stack at unsupportedURLType (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:327:15) 41 verbose stack at fromURL (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:387:13) 41 verbose stack at Function.resolve (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/npm-package-arg/lib/npa.js:83:12) 41 verbose stack at /home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1032:38 41 verbose stack at Array.map (<anonymous>) 41 verbose stack at visit (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1031:56) 41 verbose stack at visitNode (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:58:25) 41 verbose stack at next (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:44:19) 41 verbose stack at depth (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/treeverse/lib/depth-descent.js:83:10) 41 verbose stack at depth (/home/jomarko/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/treeverse/lib/depth.js:27:12) 42 verbose cwd /home/jomarko/github/kie-tools/packages/form-generation-tool 43 verbose Linux 5.15.133.1-microsoft-standard-WSL2 44 verbose node v18.14.0 45 verbose npm v9.3.1 46 error code EUNSUPPORTEDPROTOCOL 47 error Unsupported URL Type "workspace:": workspace:* ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org