Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKaustabh Das
Front End Web Development Techdegree Student 126 Pointserror in the program
when i run the program name app.js i found an error. error is:
kaustabh@kaustabh-Inspiron-5567:~/Learn$ node app1.js
/home/kaustabh/Learn/app1.js:18 let body = ""; ^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3
1 Answer
<noob />
17,062 Pointscan u add a snapshot? itβs hard to know whatβs wrong like that