You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2015/09/22 18:49:04 UTC

[jira] [Updated] (FALCON-1136) Falcon UI is not coming up in deploy mode

     [ https://issues.apache.org/jira/browse/FALCON-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajay Yadava updated FALCON-1136:
--------------------------------
    Labels: ui  (was: )

> Falcon UI is not coming up in deploy mode
> -----------------------------------------
>
>                 Key: FALCON-1136
>                 URL: https://issues.apache.org/jira/browse/FALCON-1136
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Ajay Yadava
>            Assignee: Venkat Ranganathan
>              Labels: ui
>
> I am trying to bring up the UI as per the instructions in Installation-Steps.txt in falcon-ui. Problems:
> 1. It fails at step 3 when I try to bring up the UI in local mode
> I needed to install grunt-cli module manually to fix this.
> 2. On issuing grunt dev it fails with the following error:
> Running "uglify:main" (uglify) task
> [TypeError: Object #<Object> has no method 'SourceMap']
> >> Uglifying source app/js/controllers/cluster/cluster-module.js,app/js/controllers/entity/entity-module.js,app/js/controllers/feed/feed-module.js,app/js/controllers/process/process-module.js,app/js/controllers/controllers.js,app/js/controllers/dashboard-controller.js,app/js/controllers/entity/entity-view.js,app/js/controllers/feed/feed-clusters-controller.js,app/js/controllers/feed/feed-general-information-controller.js,app/js/controllers/feed/feed-location-controller.js,app/js/controllers/feed/feed-properties-controller.js,app/js/controllers/feed/feed-root-ctrl.js,app/js/controllers/feed/feed-summary-controller.js,app/js/controllers/header-controller.js,app/js/controllers/process/process-clusters-ctrl.js,app/js/controllers/process/process-general-information-ctrl.js,app/js/controllers/process/process-inputs-and-outputs-ctrl.js,app/js/controllers/process/process-properties-controller.js,app/js/controllers/process/process-root-ctrl.js,app/js/controllers/process/process-summary-ctrl.js,app/js/controllers/root-controller.js,app/js/directives/check-name.js,app/js/directives/directives.js,app/js/directives/entities-list.js,app/js/directives/entity-summary-directive.js,app/js/directives/server-messages.js,app/js/directives/validation-message.js,app/js/services/common/falcon-api.js,app/js/services/common/file-api.js,app/js/services/common/json-transformer.js,app/js/services/common/validation-service.js,app/js/services/common/xml-to-json-service.js,app/js/services/entity/entity-factory.js,app/js/services/entity/entity-messages.js,app/js/services/entity/entity-model.js,app/js/services/entity/entity-serializer.js,app/js/services/services.js,app/js/app.js failed.
> Warning: Uglification failed.
> Object #<Object> has no method 'SourceMap'. 
>  Use --force to continue.
> Aborted due to warnings.
> 3. After I use --force option I get the following error message
> ERROR [launcher]: No binary for PhantomJS browser on your platform.
>   Please, set "PHANTOMJS_BIN" env variable.
> Warning: Task "karma:unit:start" failed. Used --force, continuing.
> but the server starts.
> 4. On hitting localhost:3000 the UI doesn't come up, it fails because of some js errors



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)