Closed pat2echo closed 7 years ago
SOLVED: I simple watched this tutorial https://www.youtube.com/watch?v=MSCtnotXKdo
Then i thought to comment out the line in the app.js file that Initial entry
Final Correct Entry //#!/usr/bin/env node
Hey @pat2echo, as you are new to Node.js tell me what are you trying to do so i can try to guide you. node app.js
is not the way to go. You should install this package and require it on your project. Take a look at this tutorial: https://www.airpair.com/javascript/node-js-tutorial
Thank you very much
On Fri, Jan 13, 2017 at 12:42 AM, Diego ZoracKy notifications@github.com wrote:
Hey @pat2echo https://github.com/pat2echo, as you are new to Node.js tell me what are you trying to do so i can try to guide you. node app.js is not the way to go. You should install this package and require it on your project. Take a look at this tutorial: https://www.airpair.com/ javascript/node-js-tutorial
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DiegoZoracKy/convert-excel-to-json/issues/1#issuecomment-272319450, or mute the thread https://github.com/notifications/unsubscribe-auth/AF54L87-Vu8NzpDOQkWgwI6h0moEGRjXks5rRrpSgaJpZM4LfqOS .
No 42 Lobito Crescent Wuse 2, Abuja
You can also check us out on:
https://twitter.com/MaybeachTech https://twitter.com/MaybeachTechhttps://www.facebook.com/maybeachtech?fref=ts https://www.facebook.com/maybeachtech?fref=tshttps://plus.google.com/+Maybeachtechnology/posts https://plus.google.com/+Maybeachtechnology/posts
Hi I am new to Node.js but i cannot get the code to run
C:\Users\pat2echo\node_modules\convert-excel-to-json>node app.js C:\Users\pat2echo\node_modules\convert-excel-to-json\app.js:5
!/usr/bin/env node
^
SyntaxError: Unexpected token ILLEGAL at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:134:18) at node.js:962:3
C:\Users\pat2echo\node_modules\convert-excel-to-json>