N
N
Nikita Petrov2017-01-19 22:26:16
JavaScript
Nikita Petrov, 2017-01-19 22:26:16

GULP build error?

Hey! I don't understand what is wrong. It seems that I looked at what it refers to, and globally put this module, but everything was dry.

"A:\Program files\WebStorm 2016.3.2\bin\runnerw.exe" A:\NodeJS\node.exe C:\Users\Никита\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js --color --gulpfile A:\Project\untitled2\gulpfile.babel.js build
[22:11:42] Requiring external module babel-register
[22:11:43] Using gulpfile A:\Project\untitled2\gulpfile.babel.js
[22:11:43] Starting 'lint'...
[22:11:44] Starting 'styles'...
[22:11:44] Starting 'scripts'...
[22:11:44] Starting 'images'...
[22:11:44] Starting 'fonts'...
[22:11:44] Starting 'extras'...
[22:11:44] Finished 'images' after 365 ms
[22:11:44] Finished 'fonts' after 39 ms
[22:11:44] Finished 'lint' after 1.22 s
[22:11:45] Finished 'styles' after 972 ms
[22:11:45] Finished 'extras' after 298 ms
[22:11:45] Finished 'scripts' after 653 ms
[22:11:45] Starting 'html'...

events.js:160
      throw er; // Unhandled 'error' event
      ^
Error
    at new JS_Parse_Error (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:1534:18)
    at js_error (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:1542:11)
    at croak (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2089:9)
    at token_error (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2097:9)
    at unexpected (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2103:9)
    at expr_atom (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2630:9)
    at maybe_unary (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2792:19)
    at expr_ops (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2827:24)
    at maybe_conditional (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2832:20)
    at maybe_assign (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2856:20)
    at expression (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2875:20)
    at simple_statement (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2314:55)
    at eval (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2178:20)
    at eval (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2136:24)
    at eval (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2904:23)
    at Object.parse (eval at <anonymous> (A:\Project\untitled2\node_modules\uglify-js\tools\node.js:28:1), <anonymous>:2915:7)

Process finished with exit code 1

Code from untitled2\node_modules\uglify-js\tools\node.js:28:1
new Function("MOZ_SourceMap", "exports", "DEBUG", FILES.map(function(file){
    return fs.readFileSync(file, "utf8");
}).join("\n\n"))(
    require("source-map"),
    UglifyJS,
    !!global.UGLIFY_DEBUG
);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question