I have an application that I would like to deploy to AWS Elastic Beanstalk, but have been getting a plethora of errors. My issue is that I do not know exactly which files to bundle. I am using one of the Cesium examples with my own parameters. The .html opens fine in web browser via localhost and node.js. However when I've tried to bundle what I thought are the correct files together, I have been getting deployment errors in the logs. I want to hit the 3D Tiles Feature Styling. html in the folder structure below. I have ensured that express is in the node_modules and have tried different scenarios in compiling the files. What is the solution for this issue? I have also changed app.js to main.js per other thread suggestions. I have tried deploying the entire Cesium 1.43 zip file and get the following errors.
npm ERR! Failed at the cesium@1.43.0 start script 'node server.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the cesium package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node server.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs cesium npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls cesium npm ERR! There is likely additional logging output above.
The goal of this deployment is to see the cesium sandcastle samples deployed via Elastic Beanstalk
I am using Google Chrome, Windows 10 and Cesium 1.43