This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: tidc01002 SimpleLink™ Sub-1 GHz Sensor to Cloud Gateway Reference Design

Part Number: CC1310

Hi,

I was following the design guide and also got stuck in the 3.2.1.1.8 Set Up Node.js Cloud Foundry App.. help.

Step 6.Push the code to the IBM cloud foundry app: cf push

.... 

Exit status 0
Uploading droplet, build artifacts cache...
Uploading droplet...
Uploading build artifacts cache...
Uploaded build artifacts cache (6.1M)
Uploaded droplet (23.7M)
Uploading complete
Cell 984253f0-2a3f-4a89-ab52-fccb257e1fc5 stopping instance 8c2d7eeb-54b1-40a5-bae8-1b719731a8db
Cell 984253f0-2a3f-4a89-ab52-fccb257e1fc5 destroying container for instance 8c2d7eeb-54b1-40a5-bae8-1b719731a8db
Cell 984253f0-2a3f-4a89-ab52-fccb257e1fc5 successfully destroyed container for instance 8c2d7eeb-54b1-40a5-bae8-1b719731a8db

0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 crashed
FAILED
Error restarting application: Start unsuccessful

TIP: use 'cf logs CC3220SPP --recent' for more information

Log info:

2019-04-01T11:46:54.13+1300 [CELL/0] OUT Starting health monitoring of container
2019-04-01T11:46:55.97+1300 [APP/PROC/WEB/0] OUT > s2c-linux@0.0.1 start /home/vcap/app
2019-04-01T11:46:55.97+1300 [APP/PROC/WEB/0] OUT > node app.js
2019-04-01T11:46:56.33+1300 [APP/PROC/WEB/0] ERR /home/vcap/app/node_modules/express/node_modules/debug/src/node.js:132
2019-04-01T11:46:56.33+1300 [APP/PROC/WEB/0] ERR let val = process.env[key];
2019-04-01T11:46:56.33+1300 [APP/PROC/WEB/0] ERR ^^^
2019-04-01T11:46:56.33+1300 [APP/PROC/WEB/0] ERR SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode