Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entryjs grunt 실행 에러 문의 #522

Closed
Robotori opened this issue Nov 30, 2016 · 2 comments
Closed

entryjs grunt 실행 에러 문의 #522

Robotori opened this issue Nov 30, 2016 · 2 comments

Comments

@Robotori
Copy link
Contributor

entryJS grunt 실행 시 에러가 발생하여 문의를 드립니다.

== 개발환경 구축 참고문서
https://entrylabs.github.io/entry-hw/page/2_SettingEnvironments/

== 빌드 환경
windows 10 64bit
javac 1.7.0_79
node.js v5.12.0
grunt-cli v1.2.0
grunt v0.4.5

아래는 소스 다운로드 후 수정없이 grunt실행 한 결과 입니다.

== 에러 요약

src/blocks/block_neobot.js:26: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
name: 'neobot',
^

src/workspace/block_entry.js:21995: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
"isNotFor": ["dplay"],
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

4 error(s), 68 warning(s)
FAILED to run command for target: dist
Warning: Task "closureCompiler:dist" failed. Used --force, continuing.

== 에러 로그

C:\entry_dev\src_online\entryjs>grunt
Running "closureCompiler:targetName" (closureCompiler) task
Executing: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.js --create_source_map entry.js.map --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5 --formatting pretty_print

Error: Command failed: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.js --create_source_map entry.js.map --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5 --formatting pretty_print
src/engine.js:403: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
createjs.Ticker.setFPS(Entry.FPS);
^

src/entity.js:440: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^

src/entity.js:462: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^

src/entity.js:687: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (text === undefined)
^

src/entity.js:778: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(visible === undefined)
^

src/hw.js:396: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this._w.location.href;
^

src/init.js:103: WARNING - unreachable code
for (var i = 0; i < filenames.length; i++) {
^

src/init.js:347: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!this.FPS)
^

src/log/state.js:24: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (arguments.length > 3)
^

src/object.js:1218: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(!rotateMethod)
^

src/playground.js:794: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!object) {
^

src/popup_helper.js:13: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this.nowContent;
^

src/stamp_entity.js:27: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if (this.type == 'textBox') {}
^

src/textcoding/ast/pyAstGenerator.js:29: WARNING - unreachable code
console.log("AST Error", error.toString());
^

src/textcoding/parser/core/block/blockToPy.js:314: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._parseMode == Entry.Parser.PARSE_VARIABLE) { //In PARSE_VARIABLE Mode
^

src/textcoding/parser/core/block/blockToPy.js:315: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockSkeleton == Entry.Parser.BLOCK_SKELETON_BASIC_LOOP ||
^

src/textcoding/parser/core/block/blockToPy.js:317: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockParamsKeyMap) { //If Block has Parameters
^

src/textcoding/parser/core/block/blockToPy.js:318: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(j == 0) { //The beginning of Block Statement
^

src/textcoding/parser/core/text/jsToBlock.js:523: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:574: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:677: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:717: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:104: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:513: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = initData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:541: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:860: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = propertyData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:947: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value === false) {
^

src/textcoding/parser/core/text/pyToBlock.js:958: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1184: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1432: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1480: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1576: WARNING - Duplicate case in a switch statement.
case "|": break;
^

src/textcoding/parser/core/text/pyToBlock.js:1599: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1663: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1793: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = rightData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:1937: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:1968: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:2382: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/temp/pyBlockAssembler.js:183: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/temp/pyBlockAssembler.js:462: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value == false) {
^

src/textcoding/temp/pyBlockAssembler.js:486: WARNING - unreachable code
else {
^

src/textcoding/temp/pyBlockAssembler.js:606: WARNING - unreachable code
else {
^

src/textcoding/temp/pyBlockAssembler.js:866: WARNING - Duplicate case in a switch statement.
case "|": break;
^

src/textcoding/temp/pyToBlockTemp.js:708: WARNING - Duplicate case in a switch statement.
case "|":
^

src/textcoding/temp/pyToBlockTemp.js:785: WARNING - unreachable code
else{
^

src/textcoding/util/textCodingUtil.js:15: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
p._funcParamQ;
^

src/util/utils.js:719: WARNING - If this if/for/while really shouldn't have a body, use {}
for(var i=-1,l=nl.length;++i!==l;arr[i]=nl[i]);
^

src/variable.js:659: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
width = width < 100 ? 100 : width;
^

src/variable.js:685: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
height = height < 100 ? 100 : height;
^

src/workspace/block_view.js:350: WARNING - unreachable code
if (false && Entry.ANIMATION_DURATION !== 0) {
^

src/blocks/block_neobot.js:26: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
name: 'neobot',
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

3 error(s), 50 warning(s)
FAILED to run command for target: targetName
Warning: Task "closureCompiler:targetName" failed. Used --force, continuing.

Running "closureCompiler:dist" (closureCompiler) task
Executing: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_entry.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.min.js --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5

Error: Command failed: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_entry.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.min.js --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5
src/engine.js:403: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
createjs.Ticker.setFPS(Entry.FPS);
^

src/entity.js:440: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^

src/entity.js:462: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^

src/entity.js:687: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (text === undefined)
^

src/entity.js:778: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(visible === undefined)
^

src/hw.js:396: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this._w.location.href;
^

src/init.js:103: WARNING - unreachable code
for (var i = 0; i < filenames.length; i++) {
^

src/init.js:347: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!this.FPS)
^

src/log/state.js:24: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (arguments.length > 3)
^

src/object.js:1218: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(!rotateMethod)
^

src/playground.js:794: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!object) {
^

src/popup_helper.js:13: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this.nowContent;
^

src/stamp_entity.js:27: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if (this.type == 'textBox') {}
^

src/textcoding/ast/pyAstGenerator.js:29: WARNING - unreachable code
console.log("AST Error", error.toString());
^

src/textcoding/parser/core/block/blockToPy.js:314: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._parseMode == Entry.Parser.PARSE_VARIABLE) { //In PARSE_VARIABLE Mode
^

src/textcoding/parser/core/block/blockToPy.js:315: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockSkeleton == Entry.Parser.BLOCK_SKELETON_BASIC_LOOP ||
^

src/textcoding/parser/core/block/blockToPy.js:317: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockParamsKeyMap) { //If Block has Parameters
^

src/textcoding/parser/core/block/blockToPy.js:318: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(j == 0) { //The beginning of Block Statement
^

src/textcoding/parser/core/text/jsToBlock.js:523: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:574: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:677: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/jsToBlock.js:717: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:104: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:513: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = initData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:541: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:860: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = propertyData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:947: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value === false) {
^

src/textcoding/parser/core/text/pyToBlock.js:958: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1184: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1432: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1480: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1576: WARNING - Duplicate case in a switch statement.
case "|": break;
^

src/textcoding/parser/core/text/pyToBlock.js:1599: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1663: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^

src/textcoding/parser/core/text/pyToBlock.js:1793: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = rightData.arguments;
^

src/textcoding/parser/core/text/pyToBlock.js:1937: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:1968: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^

src/textcoding/parser/core/text/pyToBlock.js:2382: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/temp/pyBlockAssembler.js:183: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^

src/textcoding/temp/pyBlockAssembler.js:462: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value == false) {
^

src/textcoding/temp/pyBlockAssembler.js:486: WARNING - unreachable code
else {
^

src/textcoding/temp/pyBlockAssembler.js:606: WARNING - unreachable code
else {
^

src/textcoding/temp/pyBlockAssembler.js:866: WARNING - Duplicate case in a switch statement.
case "|": break;
^

src/textcoding/temp/pyToBlockTemp.js:708: WARNING - Duplicate case in a switch statement.
case "|":
^

src/textcoding/temp/pyToBlockTemp.js:785: WARNING - unreachable code
else{
^

src/textcoding/util/textCodingUtil.js:15: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
p._funcParamQ;
^

src/util/utils.js:719: WARNING - If this if/for/while really shouldn't have a body, use {}
for(var i=-1,l=nl.length;++i!==l;arr[i]=nl[i]);
^

src/variable.js:659: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
width = width < 100 ? 100 : width;
^

src/variable.js:685: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
height = height < 100 ? 100 : height;
^

src/workspace/block_entry.js:3070: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3081: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3128: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3141: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3188: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3201: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3251: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3262: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3279: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3291: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3351: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3380: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3428: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3447: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3497: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3508: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3550: WARNING - unreachable code
return;
^

src/workspace/block_entry.js:3561: WARNING - unreachable code
return;
^

src/workspace/block_view.js:350: WARNING - unreachable code
if (false && Entry.ANIMATION_DURATION !== 0) {
^

src/blocks/block_neobot.js:26: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
name: 'neobot',
^

src/workspace/block_entry.js:21995: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
"isNotFor": ["dplay"],
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

src/workspace/field/angle.js:68: ERROR - object literals cannot contain duplicate keys in ES5 strict mode
height: CONTENT_HEIGHT, 'rx':3, 'ry': 3,
^

4 error(s), 68 warning(s)
FAILED to run command for target: dist
Warning: Task "closureCompiler:dist" failed. Used --force, continuing.

Running "karma:unit" (karma) task
Fatal error: The header content contains invalid characters

@Robotori
Copy link
Contributor Author

Robotori commented Dec 1, 2016

컴파일 에러 문제는 해결이 된것 같습니다.

<해결 상황>
entryjs 최상위 폴더에서 npm install 명령 실행 시 node_modules/closurecompiler/compiler/closure-compiler-v20161024.jar 파일이 다운로드 됩니다

환경설정 문서대로 해당 파일명을 compiler.jar로 변경한 후 grunt를 실행하면 위와 같은 문제가 발생합니다.

https://github.com/google/closure-compiler/wiki/Binary-Downloads

위 주소로 가서 v20160911 버전을 다운로드 받은 후 node_modules/closurecompiler/compiler/ 위치에 compiler.jar이름으로 복사하니 정상적으로 컴파일이 되고 동작도 잘 됩니다.

<확인내용>
package.json에 devDependencies를 확인 한 후 npm install closurecompiler@1.5.2
명령으로 설치해도 closure-compiler-v20161024.jar 파일이 다운로드 되는데요 확인이 필요할 것 같습니다.

@kimorkim
Copy link
Collaborator

kimorkim commented Dec 6, 2016

@Robotori 해당내용은 확인하여 처리되었습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants