falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1136) Falcon UI is not coming up in dev mode
Date Mon, 06 Apr 2015 09:16:12 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481063#comment-14481063
] 

Pallavi Rao commented on FALCON-1136:
-------------------------------------

[~ajayyadava], I tried with the grunt that is installed when the package is built and it works
(the dev mode that is).

{code}
./node_modules/grunt-cli/bin/grunt dev
{code}
If that works for you, I think we should update the Installations doc. to that effect.



> Falcon UI is not coming up in dev mode
> --------------------------------------
>
>                 Key: FALCON-1136
>                 URL: https://issues.apache.org/jira/browse/FALCON-1136
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Ajay Yadava
>
> 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)

Mime
View raw message