Whenever I attempt to run the "npm" command, I encounter a syntax error.
Users/Shared/Jenkins/Home/workspace/projectName/npm test
^^^^
SyntaxError: Unexpected identifier
This is the Jenkins Build shell command that was utilized:
#!/usr/local/bin/node
Users/Shared/Jenkins/Home/workspace/kaleidoscope/npm test
Could someone please clarify what might have caused this issue?