PlayApp icon indicating copy to clipboard operation
PlayApp copied to clipboard

Error While Running GULP Command

Open sourabhkheterpal opened this issue 8 years ago • 0 comments

gulp command gives error:

[12:14:55] Using gulpfile ~/PlayApp/gulpfile.js [12:14:55] Starting 'full-dev'... [12:14:55] Starting 'build-dev-server'... [12:14:55] Starting 'clean'... [12:14:56] Finished 'clean' after 5.21 ms [12:14:56] Starting 'tsd'... path not in index, attempt-adding: moment/moment-node.d.ts [12:15:01] Finished 'tsd' after 5.48 s [12:15:01] Starting 'transpile'... [12:15:01] Starting 'ts'... [12:15:01] Starting 'lint'... [12:15:02] [gulp-tslint] error server/controllers/IsomorphicRender.ts[22, 5]: Declaration of public static member function not allowed to appear after declaration of public instance member function [12:15:02] [gulp-tslint] error components/MainLayout/MainLayoutRender.native.tsx[15, 5]: Declaration of public static member variable not allowed to appear after declaration of public instance member function [12:15:02] Finished 'lint' after 1.51 s [12:15:02] Starting 'typescripts'... /home/sourabh/PlayApp/node_modules/moment/moment.d.ts(256,24): error TS1110: Type expected. [12:15:04] gulp-notify: [Error running Gulp] { ಠ_ಠ}! Build failed... check the logs. [12:15:04] Error: TypeScript error: /home/sourabh/PlayApp/node_modules/moment/moment.d.ts(256,24): error TS1110: Type expected.

Can you Please help? . Thanks. node v7.0.0

sourabhkheterpal avatar Nov 23 '16 06:11 sourabhkheterpal