Hi Team,
When i am trying to build the Sparky-fe (master) code (npm install), it gets
build successfully. When I try to run npm start, it compiles successfully with
below warning:
WARNING in ./~/exceljs/dist/exceljs.min.js
Critical dependencies:
3:427-434 This seems to be a pre-built javascript file. Though this is
possible, it's not recommended. Try to require the original source to get
better results.
@ ./~/exceljs/dist/exceljs.min.js 3:427-434
WARNING in ./src/app/assets/stubs/SingleTransactionEdit.json
Module build failed: SyntaxError: Unexpected token } in JSON at position 205
at JSON.parse (<anonymous>:null:null)
at Object.module.exports
(/home/ubuntu/sparky-fe-master/sparky-fe/node_modules/json-loader/index.js:4:49)
@ ./src/app/assets/stubs ^\.\/.*\.json$
webpack: Compiled with warnings.
When I try to access the url I get blank screen. In console I see:
Uncaught TypeError: url.match(...) is null
<anonymous> https://10.211.1.56:8001/bundle.js:33659
__webpack_require__ https://10.211.1.56:8001/bundle.js:556
fn https://10.211.1.56:8001/bundle.js:87
<anonymous> https://10.211.1.56:8001/bundle.js:33221
__webpack_require__ https://10.211.1.56:8001/bundle.js:556
fn https://10.211.1.56:8001/bundle.js:87
<anonymous> https://10.211.1.56:8001/bundle.js:33059
__webpack_require__ https://10.211.1.56:8001/bundle.js:556
fn https://10.211.1.56:8001/bundle.js:87
We followed the below documentation:
https://docs.onap.org/projects/onap-aai-sparky-be/en/latest/platform/installation.html#running-sparky-fe-locally
Please find the Environment details below that we are using:
1. OS: Ubuntu - 18.04
2. node version - v9.4.0
3. npm version - 6.10.1
4. python version - Python 2.7.17
I tried building app with maven using mvn clean install, but still getting same
issue after npm start.
Please help us in this issue.
Thanks,
Aleem
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary
and confidential and subject to the Tech Mahindra policy statement, you may
review the policy at http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23266): https://lists.onap.org/g/onap-discuss/message/23266
Mute This Topic: https://lists.onap.org/mt/83026206/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-