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

Can't install serverless-components #964

Open
scottbentley opened this issue Jun 2, 2021 · 0 comments
Open

Can't install serverless-components #964

scottbentley opened this issue Jun 2, 2021 · 0 comments

Comments

@scottbentley
Copy link

Description

When running "npm install -g serverless-components" on my own personal laptop (win10) I get the following error:

"Error: Couldn't find your IP"

It appears to be trying to find a public internet IP for my computer, which is a personal laptop I'm using at home/work. I have a simple WiFi router setup in the house on a Cable connection. Am I doing something wrong?

Additional Data

Node version: 16.1.0
Npm version: 7.15.1

Full error trace:

npm ERR! code 1
npm ERR! path C:\Users\bentleys\AppData\Roaming\npm\node_modules\serverless-components
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./scripts/postinstall.js
npm ERR! C:\Users\bentleys\AppData\Roaming\npm\node_modules\serverless-components\src\utils\telemetry\getLocation.js:6
npm ERR! const ip = await publicIp.v4()
npm ERR! ^
npm ERR! Error: Couldn't find your IP
npm ERR! at C:\Users\bentleys\AppData\Roaming\npm\node_modules\serverless-components\node_modules\public-ip\index.js:48:10
npm ERR! at module.exports (C:\Users\bentleys\AppData\Roaming\npm\node_modules\serverless-components\src\utils\telemetry\getLocation.js:6:14)
npm ERR! at module.exports (C:\Users\bentleys\AppData\Roaming\npm\node_modules\serverless-components\src\utils\telemetry\track.js:27:20)

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

No branches or pull requests

1 participant