I have been having an error message when running the lodash project.
The error is pointing out the ‘module’ as an unexpected identifier.
This is not part of the code that I had written. I have not modified it.
Is there a problem with the server?
I have tried logging out then in again. No success.
Here is the erros message:
node test/clamp.js
/home/ccuser/workspace/underscore-javascript-capstone/_.js:45
module.exports = _;
^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:543:28)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/home/ccuser/workspace/underscore-javascript-capstone/test/clamp.js:1:73)
$