Hi Keong,

 I tried "mvn install", build was successful in my environment also, but
how can i run the server to get the UI access in browser?



I tried "npm start", it is giving following error.

*sparky-fe$ npm start*

> audit-ui@1.0.0 start /home/ubuntu/casablanca/sparky-fe
> gulp

/home/ubuntu/casablanca/sparky-fe/gulpfile.js:26
var taskMaker = gulpHelpers.taskMaker(gulp);
                            ^

TypeError: gulpHelpers.taskMaker is not a function
    at Object.<anonymous>
(/home/ubuntu/casablanca/sparky-fe/gulpfile.js:26:29)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at execute
(/home/ubuntu/casablanca/sparky-fe/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:36:18)
    at Liftoff.handleArguments
(/home/ubuntu/casablanca/sparky-fe/node_modules/gulp/node_modules/gulp-cli/index.js:201:24)
    at Liftoff.execute
(/home/ubuntu/casablanca/sparky-fe/node_modules/liftoff/index.js:201:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! audit-ui@1.0.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the audit-ui@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!
 
/home/ubuntu/casablanca/sparky-fe/node/npm-cache/_logs/2019-05-09T12_40_08_149Z-debug.log


Even i read the *README.MD *file of spark-fe, they suggested running the
"npm start" to run the project.

However, it is not working.


Can you suggest something on it?


Thanks & Regards,
Thamlur Raju.



On Fri, May 10, 2019 at 6:36 AM Keong Lim <keong....@huawei.com> wrote:

> Hi Raju,
>
>
>
> In my environment, I have:
>
>
>
> $ mvn --version
>
> *Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-04T05:39:06+10:00)*
>
> Maven home: D:\Keong\bin\apache-maven-3.5.0
>
> Java version: 1.8.0_101, vendor: Oracle Corporation
>
> Java home: C:\Program Files\Java\jdk1.8.0_101\jre
>
> Default locale: en_AU, platform encoding: Cp1252
>
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
>
>
> Running the build like this, I get:
>
>
>
> $ mvn install
>
>
>
> …
>
> [INFO]
> *------------------------------------------------------------------------*
>
> [INFO] *Building aai-sparky-fe 1.4.1-SNAPSHOT*
>
> [INFO]
> *------------------------------------------------------------------------*
>
> …
>
> [INFO]
> *------------------------------------------------------------------------*
>
> [INFO] BUILD SUCCESS
>
> [INFO]
> *------------------------------------------------------------------------*
>
> [INFO] Total time: 06:23 min
>
> [INFO] Finished at: 2019-05-10T10:56:13+10:00
>
> [INFO] Final Memory: 18M/188M
>
>
>
> So it seems to work this way.
>
> I guess it could be that the documentation needs to be updated.
>
> Could you please raise a JIRA case for it?
>
>
>
>
>
> Regarding the search-data-service, I will let someone else with more
> expertise answer it.
>
>
>
>
>
> Thanks,
>
> Keong
>
>
>
>
>
> *From:* Thamlur Raju [mailto:thamlurraju...@gmail.com]
> *Sent:* Thursday, May 9, 2019 6:50 PM
> *To:* Keong Lim <keong....@huawei.com>
> *Cc:* onap-discuss@lists.onap.org
> *Subject:* Re: [onap-discuss] [AAI] Sparky-fe bulid fail issue.
>
>
>
> Hi Keong,
>
>
>
> I am following the below link to build it, attempting to run "npm install"
> directly.
>
>
> https://docs.onap.org/en/casablanca/submodules/aai/sparky-be.git/docs/index.html?highlight=sparky
>
>
>
>
> *The Java and maven versions are, *
>
>
>
> Apache Maven 3.3.9
>
> Maven home: /usr/share/maven
>
> Java version: 1.8.0_191, vendor: Oracle Corporation
>
> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
>
> Default locale: en_US, platform encoding: UTF-8
>
> OS name: "linux", version: "4.4.0-81-generic", arch: "amd64", family:
> "unix"
>
>
>
> 1. Can you help in the search-data-service container run command? i am
> getting the issue like below (not able to start the server), does any
> parameter is missing in the below command?
>
>
>
> *sudo docker run -p 9509:9509 --name=search2 -e
> CONFIG_HOME=/opt/app/search-data-service/config -e
> KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 -e
> KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10  -v
> myvol:/logs onap/search-data-service:1.3.2*
>
>
>
> sudo: unable to resolve host nbn-vm
>
>
>
> 08:47:30.748 [main] DEBUG org.eclipse.jetty.util.log - Logging to
> Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
>
> 08:47:30.768 [main] INFO org.eclipse.jetty.util.log - Logging initialized
> @982ms to org.eclipse.jetty.util.log.Slf4jLog
>
>  ____                      _                ____  ____                _
> _         _                  _   _
>
> / ___|  ___  __ _ _ __ ___| |__            |  _ \| __ )              / \
> | |__  ___| |_ _ __ __ _  ___| |_(_) ___  _ __
>
> \___ \ / _ \/ _` | '__/ __| '_ \    _____  | | | |  _ \    _____    / _ \
> | '_ \/ __| __| '__/ _` |/ __| __| |/ _ \| '_ \
>
>  ___) |  __/ (_| | | | (__| | | |  |_____| | |_| | |_) |  |_____|  / ___
> \| |_) \__ \ |_| | | (_| | (__| |_| | (_) | | | |
>
> |____/ \___|\__,_|_|  \___|_| |_|          |____/|____/           /_/
>  \_\_.__/|___/\__|_|  \__,_|\___|\__|_|\___/|_| |_|
>
>
>
>
>
>
>
>
>
> Thanks for the quick response.
>
>
>
> Thanks & Regards,
>
> Thamlur Raju.
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16998): https://lists.onap.org/g/onap-discuss/message/16998
Mute This Topic: https://lists.onap.org/mt/31552091/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to