Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Install node is failed in node-red

Install node is failed in node-red

LZT
New Poster
hello:
I am trying to install 'node-red-contrib-ui-button_state' in node-red,but not sucsseful.
the core's time is taken from my computer's time, system version is 1.20.
 
the error message:
2023-12-21T07:02:32.768Z Install : node-red-contrib-ui-button_state 0.2.2
2023-12-21T07:02:31.265Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-ui-button_state@0.2.2
2023-12-21T07:02:34.594Z [err] npm
2023-12-21T07:02:34.595Z [err]  WARN config production Use `--omit=dev` instead.
2023-12-21T07:02:35.228Z [err] (node:2914) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2023-12-21T07:02:35.228Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
-----------------------------------------------------------
2023-12-21T07:03:19.208Z Install : node-red-contrib-ui-actions 0.1.8
-----------------------------------------------------------
2023-12-21T07:03:21.376Z Install : @FlowFuse/node-red-dashboard 0.10.2
2023-12-21T07:03:45.348Z [err] npm
2023-12-21T07:03:45.349Z [err]  ERR!
2023-12-21T07:03:45.351Z [err]  
2023-12-21T07:03:45.351Z [err] code EAI_AGAIN
2023-12-21T07:03:45.352Z [err] npm
2023-12-21T07:03:45.352Z [err]  ERR! syscall getaddrinfo
2023-12-21T07:03:45.354Z [err] npm
2023-12-21T07:03:45.354Z [err]  ERR! errno
2023-12-21T07:03:45.355Z [err]  EAI_AGAIN
2023-12-21T07:03:45.369Z [err] npm
2023-12-21T07:03:45.369Z [err] ERR! request to https://registry.npmjs.org/node-red-contrib-ui-button_state failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2023-12-21T07:03:45.379Z [err]
2023-12-21T07:03:45.380Z [err] npm
2023-12-21T07:03:45.380Z [err]  ERR!
2023-12-21T07:03:45.382Z [err]  A complete log of this run can be found in:
2023-12-21T07:03:45.382Z [err] npm ERR!     /root/snap/ctrlx-node-red/733/.npm/_logs/2023-12-21T07_02_34_455Z-debug-0.log
2023-12-21T07:03:45.434Z rc=1
-----------------------------------------------------------
2023-12-21T07:04:12.768Z Install : node-red-contrib-ui-button_state 0.2.2

2023-12-21T07:04:11.172Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-ui-button_state@0.2.2
2023-12-21T07:04:14.501Z [err] npm
2023-12-21T07:04:14.503Z [err]  
2023-12-21T07:04:14.504Z [err] WARN config production Use `--omit=dev` instead.
2023-12-21T07:04:15.113Z [err] (node:2935) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2023-12-21T07:04:15.113Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
-----------------------------------------------------------
2023-12-21T07:04:17.214Z Install : node-red-contrib-ui-actions 0.1.8
-----------------------------------------------------------
2023-12-21T07:04:20.472Z Install : @FlowFuse/node-red-dashboard 0.10.2

2023-12-21T07:05:25.232Z [err] npm
2023-12-21T07:05:25.233Z [err]  
2023-12-21T07:05:25.234Z [err] ERR!
2023-12-21T07:05:25.236Z [err]  
2023-12-21T07:05:25.236Z [err] code
2023-12-21T07:05:25.237Z [err]  EAI_AGAIN
2023-12-21T07:05:25.238Z [err] npm
2023-12-21T07:05:25.238Z [err]  
2023-12-21T07:05:25.238Z [err] ERR!
2023-12-21T07:05:25.238Z [err]  
2023-12-21T07:05:25.239Z [err] syscall
2023-12-21T07:05:25.239Z [err]  getaddrinfo
2023-12-21T07:05:25.240Z [err] npm
2023-12-21T07:05:25.241Z [err]  
2023-12-21T07:05:25.242Z [err] ERR!
2023-12-21T07:05:25.242Z [err]  
2023-12-21T07:05:25.242Z [err] errno
2023-12-21T07:05:25.242Z [err]  EAI_AGAIN
2023-12-21T07:05:25.257Z [err] npm
2023-12-21T07:05:25.258Z [err]  
2023-12-21T07:05:25.258Z [err] ERR!
2023-12-21T07:05:25.259Z [err]  request to https://registry.npmjs.org/node-red-contrib-ui-button_state failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2023-12-21T07:05:25.269Z [err]
2023-12-21T07:05:25.271Z [err] npm
2023-12-21T07:05:25.271Z [err]  
2023-12-21T07:05:25.272Z [err] ERR!
2023-12-21T07:05:25.274Z [err]  A complete log of this run can be found in:
2023-12-21T07:05:25.274Z [err] npm ERR!
2023-12-21T07:05:25.274Z [err]      /root/snap/ctrlx-node-red/733/.npm/_logs/2023-12-21T07_04_14_351Z-debug-0.log
2023-12-21T07:05:25.315Z rc=1
-----------------------------------------------------------
2023-12-21T07:47:57.944Z Install : node-red-contrib-ui-button_state 0.2.2

2023-12-21T07:47:56.329Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-ui-button_state@0.2.2
2023-12-21T07:47:59.582Z [err] npm
2023-12-21T07:47:59.585Z [err]  
2023-12-21T07:47:59.586Z [err] WARN config production Use `--omit=dev` instead.
2023-12-21T07:48:00.197Z [err] (node:3086) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2023-12-21T07:48:00.197Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2023-12-21T07:49:10.338Z [err] npm
2023-12-21T07:49:10.338Z [err]  ERR!
2023-12-21T07:49:10.339Z [err]  
2023-12-21T07:49:10.339Z [err] code EAI_AGAIN
2023-12-21T07:49:10.341Z [err] npm
2023-12-21T07:49:10.341Z [err]  ERR! syscall
2023-12-21T07:49:10.341Z [err]  getaddrinfo
2023-12-21T07:49:10.342Z [err] npm
2023-12-21T07:49:10.343Z [err]  
2023-12-21T07:49:10.343Z [err] ERR!
2023-12-21T07:49:10.343Z [err] errno EAI_AGAIN
2023-12-21T07:49:10.357Z [err] npm ERR!
2023-12-21T07:49:10.358Z [err]  request to https://registry.npmjs.org/node-red-contrib-ui-button_state failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2023-12-21T07:49:10.368Z [err]
2023-12-21T07:49:10.369Z [err] npm
2023-12-21T07:49:10.369Z [err]  ERR!
2023-12-21T07:49:10.370Z [err]  A complete log of this run can be found in:
2023-12-21T07:49:10.370Z [err] npm ERR!     /root/snap/ctrlx-node-red/733/.npm/_logs/2023-12-21T07_47_59_447Z-debug-0.log
2023-12-21T07:49:10.405Z rc=1
1 REPLY 1

Sgilk
Frequent Contributor

Hello @LZT ,

This is due to a lack of internet access on your ctrlX CORE. See this post for more information.

If this is a physical CORE, make sure the device is networked to a router with internet access. See this post.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist