You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: