You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "corocoto (via GitHub)" <gi...@apache.org> on 2024/04/16 20:39:32 UTC

[PR] fix(superset-frontend): resolve installation step problem by using node v20 [superset]

corocoto opened a new pull request, #28095:
URL: https://github.com/apache/superset/pull/28095

   ### SUMMARY
   
   Set a logical expression `"node": ">= 18"` at the `engines` field. It will save backward compatibility with the v18 and allow to work with the frontend part by using newer versions.
   
   ### ADDITIONAL INFORMATION
   
   Fixes #28094 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(superset-frontend): resolve installation step problem by using node > 18 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #28095:
URL: https://github.com/apache/superset/pull/28095#issuecomment-2738779652

   Closing this out since we're on node 20 currently, and many packages won't work with 18. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(superset-frontend): resolve installation step problem by using node > 18 [superset]

Posted by "john-bodley (via GitHub)" <gi...@apache.org>.
john-bodley commented on code in PR #28095:
URL: https://github.com/apache/superset/pull/28095#discussion_r1569198471


##########
superset-frontend/package.json:
##########
@@ -353,7 +353,7 @@
     "xdm": "^3.4.0"
   },
   "engines": {
-    "node": "^18.19.1",
+    "node": ">= 18",

Review Comment:
   Should there maybe be an upper bound and/or have a mechanism to exclude odd (non-even) versions?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(superset-frontend): resolve installation step problem by using node > 18 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed pull request #28095: fix(superset-frontend): resolve installation step problem by using node > 18
URL: https://github.com/apache/superset/pull/28095


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(superset-frontend): resolve installation step problem by using node > 18 [superset]

Posted by "corocoto (via GitHub)" <gi...@apache.org>.
corocoto commented on code in PR #28095:
URL: https://github.com/apache/superset/pull/28095#discussion_r1569263344


##########
superset-frontend/package.json:
##########
@@ -353,7 +353,7 @@
     "xdm": "^3.4.0"
   },
   "engines": {
-    "node": "^18.19.1",
+    "node": ">= 18",

Review Comment:
   @john-bodley, we can set the range of available versions. As example:
   
   ```json
   {
     "engines": {
       "node": ">=18 <21"
     }
   }
   ```
   
   
   NB. For more info you can read [the section about `engines` field](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines) from the official npm docs



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org