webui not working for me

Gunnar Mills gmills at linux.vnet.ibm.com
Tue Jan 7 10:53:22 AEDT 2020


On 1/6/2020 1:27 PM, Vijay Khemka wrote:
>
> Hi Gunnar,
>
> Now I am following below steps. I am running all these from my mac 
> laptop. Nothing on BMC, just copied bmcweb on BMC.
>
>  1. npm install in repo directory.
>  2. npm run-script server
>  3. Recompiled bmcweb with BMCWEB_INSECURE_DISABLE_XSS_PREVENTION and
>     BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION and transfered bmcweb to
>     target.
>  4. Go to https://bmc-ip
>     <https://urldefense.proofpoint.com/v2/url?u=https-3A__bmc-2Dip&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=kJtGvuus9oDRupym2EBb90B5bKvSi-pPMLdfIXHUGAM&s=gdm3UjRQnu_XRVgmp5SVt9W82Tl-uoCarovDoHDdD1Y&e=>,
>     no certificates asked, says certificate expired on Dec 29 1979.
>     Go to http://localhost:8080
>     <https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080&d=DwMDaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=kJtGvuus9oDRupym2EBb90B5bKvSi-pPMLdfIXHUGAM&s=r_P53gY50VmvMsyQPhxD35FdzONyzQNBH3GUYTerV4M&e=>,
>     Don’t see any port as output for “npm run-script server”.
>
Looks like it is :18898 for you. "Project is running at 
http://localhost:18898/"


> vijaykhemka-mbp:phosphor-webui vijaykhemka$ npm run-script server
>
> > phosphor-webui at 2.8.0-dev server 
> /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui
>
> > webpack-dev-server --history-api-fallback --inline --progress 
> --devtool source-map --mode development
>
> *10% building 1/1 modules 0 active*ℹ「wds」: Project is running at 
> http://localhost:18898/
>
> ℹ「wds」: webpack output is served from /
>
> ℹ「wds」: Content not from webpack is served from ./src/public
>
> ℹ「wds」: 404s will fallback to /index.html
>
> *10% building 1/3 modules 2 active 
> ...babel-loader/lib/index.js??ref--4!/Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/webpack-dev-server/client/index.js?http://localhost:18898*Browserslist: 
> caniuse-lite is outdated. Please run next command `npm update`
>
> *67% building 545/571 modules 26 active 
> /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/core-js/modules/es.reflect.is-extensible.js*[BABEL] 
> Note: The code generator has deoptimised the styling of 
> /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/angular/angular.js 
> as it exceeds the max of 500KB.
>
> *66% building 557/590 modules 33 active 
> /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/core-js/modules/es.object.to-string.js*[BABEL] 
> Note: The code generator has deoptimised the styling of 
> /Users/vijaykhemka/proj/lf/gh/new-gh/gh-repo/phosphor-webui/node_modules/text-encoding/lib/encoding-indexes.js 
> as it exceeds the max of 500KB.
>
> ℹ「wdm」: 761 modules
>
> ℹ「wdm」: Compiled successfully.
>
> Regards
>
> -Vijay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200106/90e3d29d/attachment.htm>


More information about the openbmc mailing list