Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when installing the sdk #2

Open
Pulkitchadha opened this issue Jun 19, 2020 · 1 comment
Open

Getting error when installing the sdk #2

Pulkitchadha opened this issue Jun 19, 2020 · 1 comment

Comments

@Pulkitchadha
Copy link

npm install paytm-mini-programs-nodejs-sdk
npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --only=dev instead.
npm ERR! prepareGitDep npm ERR! code EBADPLATFORM
npm ERR! prepareGitDep npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! prepareGitDep npm ERR! notsup Valid OS: darwin,linux
npm ERR! prepareGitDep npm ERR! notsup Valid Arch: any
npm ERR! prepareGitDep npm ERR! notsup Actual OS: win32
npm ERR! prepareGitDep npm ERR! notsup Actual Arch: x64
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! C:\Users\HP\AppData\Roaming\npm-cache_logs\2020-06-19T10_07_28_663Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close

@shivamshekhar
Copy link

shivamshekhar commented Jun 19, 2020

Hi Pulkit,

As I can check from the error stack trace,

npm ERR! prepareGitDep npm ERR! code EBADPLATFORM
npm ERR! prepareGitDep npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})

It seems that you are using Windows operating system for installing this client. However, as per our package.json, the supported OS are "darwin" and "linux" only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants