LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Syntax error in node_moldule? (https://www.linuxquestions.org/questions/programming-9/syntax-error-in-node_moldule-4175657688/)

Mark_667 07-19-2019 11:06 AM

Syntax error in node_moldule?
 
When doing an npm install and npm run start on my app I'm getting the below:

Code:

SyntaxError: Unexpected token :


1 anonymous
  ..\node_modules\require-all\index.js:56

2 requireAll
  ..\node_modules\require-all\index.js:34

Is this a known issue in require-all? I tried installing an older version with

Code:

$ npm install require-all@2.2.0
Which looked to work but I got exactly the same error when trying to run start.


All times are GMT -5. The time now is 03:37 PM.