alirizaadiyahsi / Nucleus

Vue startup application template that uses ASP.NET Core API layered architecture at the back-end and JWT based authentication
MIT License
355 stars 88 forks source link

Subsequent variable declarations must have the same type. Variable 'require' must be of type 'NodeRequire', but here has type 'Require'. #157

Closed eymel closed 4 years ago

eymel commented 4 years ago

"yarn serve" command fails when executed.

167:13 Subsequent variable declarations must have the same type.  Variable 'require' must be of type 'NodeRequire', but here has
 type 'Require'.
    165 | declare function queueMicrotask(callback: () => void): void;
    166 |
  > 167 | declare var require: NodeJS.Require;
        |             ^
    168 | declare var module: NodeJS.Module;
    169 |
    170 | // Same as module.exports