Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse neon(Syntax Error while running javascript on eclipse)
Eclipse neon [message #1755133] Tue, 28 February 2017 10:54
Vicky Mirchandani is currently offline Vicky MirchandaniFriend
Messages: 1
Registered: February 2017
Junior Member
I am getting the following error while debugging and running the html code...


C:\Users\Vicky\LearningJavaScript\lesson02\js_errors.html:1
(function (exports, require, module, __filename, __dirname) { <!DOCTYPE html>
^
SyntaxError: Unexpected token <
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Previous Topic:How to Auto Deploy Resources configured in Maven WAR Plugin, M2E-WTP
Next Topic:Add project jar to Tomcat /lib?
Goto Forum:
  


Current Time: Mon Dec 09 20:42:02 GMT 2024

Powered by FUDForum. Page generated in 0.03103 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top