Hello, I’m having trouble with cloudsdk, getting unexpected identifier Cloud. destroy-one-thing works fine directly from browser console....

Pregunta de la clase:
Using Cloud SDK
Hussain Khan

Hussain Khan

Pregunta
student
hace 6 años

Hello,
I’m having trouble with cloudsdk, getting unexpected identifier Cloud.
destroy-one-thing works fine directly from browser console.

Also loading of available-things-page.js is before that of cloudjs.

Have gone through as per video, Please help to know what is causing this.
Error Screen Shot attached .
unexpected-cloud.png

Thanks

1 respuestas
    Hussain Khan

    Hussain Khan

    student
    hace 6 años

    Unfortunately I was missing async keyword in function definition. Now Things are working fine. Thanks

Full Stack JavaScript with Sails.js

Full Stack JavaScript with Sails.js

Become a full stack JavaScript developer with Sails.js, a versatile and in-demand framework for Node.js. Build your first single page application and handle AJAX forms on the server. Develop frontend and backend code, all using the same language.

Full Stack JavaScript with Sails.js

Full Stack JavaScript with Sails.js

Become a full stack JavaScript developer with Sails.js, a versatile and in-demand framework for Node.js. Build your first single page application and handle AJAX forms on the server. Develop frontend and backend code, all using the same language.