- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 04:58 AM
Hey experts,
I am struggling with how to add node.js (Already added require.js and seems working) as script include. In general i need aws-sdk.js to be added as script include so i can use it to do http calls to AWS EC2 (var x = new AWS().EC2(); ........ )
Anyone achieved this? And no, I dont want to pay for Cloud Orchestration
Cheers,
Joro
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2021 02:46 AM
You can use bower and then use the built as script include. You cant run node.js in your Rhino envionment / JVM (if you dont have access to the source code of course). As an alternative - you can use MID server for that, but I dont see much benefit of that apart from few use cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 06:17 AM
You can't add NodeJS as a JS library, as it's not one.
Both web browsers and NodeJS run javascript scripts. The main difference is that NodeJS is a server side framework, and executes javascript code in a server and not in the environment of a web browser (client side).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 07:47 AM
So far thats true.Although it seems that AWS SDK is possible to be added as script include or UI script ( Amazon gave a choice here). So i am looking for a way to do so, without entirely cracking my head - meaning, if someone done it to share some light. Require.js is working perfect but adding awssdk is throwing me errors - awsadk was not yet loaded.... so any suggestions are welcome 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 07:49 AM
AWS SDK is using node, react or browser to run. Forgot that one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2018 07:49 AM