IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
38 stars 23 forks source link

build: Add release-it #166

Closed abmusse closed 11 months ago

abmusse commented 1 year ago

https://www.npmjs.com/package/release-it

npm install --save-dev release-it

To generate a release use one of the npm scripts based on the release types.

These scripts will bump the version number, make a release commit, and tag the release.

On new tag event our Jenkins server will build the package, create a GH release, and publish the release to npm.

Sridharv-ec commented 1 year ago

Hi @abmusse , We have a requirement to connect to DB2 and query the table to fetch the data. But I am unable to install module from the command - npm install idb-connector I am getting below error. Can you please help on this?

npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for idb-connector@1.2.18: wanted {"os":"os400,aix","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! notsup Valid OS: os400,aix npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\7905014\AppData\Roaming\npm-cache_logs\2022-12-13T16_18_26_444Z-debug.log

abmusse commented 1 year ago

Hello 👋🏾 @Sridharv-ec,

This package only works on IBM i systems. Looks like you are trying to install it on a windows machine. If you have a requirement of connecting Db2 for i from a windows machine please checkout node-odbc package. Here is useful guide getting everything setup.

BTW in the future this type of question should be asked in a new issue or in our Ryver community. Not in a comment of an un-related PR 😄 .

github-actions[bot] commented 1 year ago

:wave: Hi! This pull request has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

abmusse commented 11 months ago

Closing in favor of #177