From: Santiago Gimenez
Sent: Tuesday, May 3, 2016 10:27
To: 'Ankeet Maini' <[email protected]>
Subject: RE: LENS UI

There isn’t NodeJS inside lens-ui folder “node”. I’ve also tried to edit the 
npm file to see if there was something and it’s empty and the file size is 0Kb.
[cid:[email protected]]
From: Ankeet Maini [mailto:[email protected]]
Sent: Tuesday, May 3, 2016 10:14
To: [email protected]<mailto:[email protected]>; Santiago Gimenez 
<[email protected]<mailto:[email protected]>>
Subject: Re: LENS UI

I'm not sure why it's happening like that. Maybe npm isn't recognized that 
might mean that NodeJS isn't installed properly.

As part of mvn install, the pom file installs a local copy of NodeJS inside 
lens-ui folder "node".

Will it be possible to install NodeJS on your box and then from the root of 
lens-ui, do an "npm install && npm start"?

Also, if possible can you share a screen-shot after doing npm start, be sure to 
wait a few seconds as it builds the assets.
On Tue, 3 May 2016 at 18:35 Santiago Gimenez 
<[email protected]<mailto:[email protected]>> wrote:
The terminal doesn’t show anything when I do ‘npm start’. The file package.json 
seems to be configured correctly.

From: Ankeet Maini 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, May 3, 2016 09:54

To: [email protected]<mailto:[email protected]>; Santiago Gimenez 
<[email protected]<mailto:[email protected]>>
Subject: Re: LENS UI

Hi, so when you do
-> cd $HOME/downloads/lens/lens/lens-ui/node/node-v0.10.32-darwin-x64/bin/
-> npm start

The UI server starts up after building assets, and listens at localhost:8080.

If started correctly, it should print the following message at the terminal 
window.

Using this as your LENS Server Address:  http://0.0.0.0:9999/lensapi/
If this seems wrong, please edit `lensserver` argument in package.json. Do not 
forget to append http://

Ad hoc UI server listening at 8082

Can you see the above message? A terminal log would be helpful.
Also it doesn't matter on the locations, as long as your server is up on port 
9999, the UI can communicate with it.



On Tue, 3 May 2016 at 18:14 Santiago Gimenez 
<[email protected]<mailto:[email protected]>> wrote:
Yeah, I’ve done that but it doesn’t seems to work. I have the server installed 
in /usr/local/lens/server and the lens-ui is in 
$HOME/downloads/lens/lens/lens-ui. Does that affect in some way?
The server is running, if I go to <baseurl> shows me the server is running.

From: amareshwarisr . 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, May 3, 2016 09:41
To: [email protected]<mailto:[email protected]>; Santiago Gimenez 
<[email protected]<mailto:[email protected]>>
Subject: Re: LENS UI

Santiago,

As responded by Ankeet on dev list, can you do npm start and try ?

Thanks


On Tue, May 3, 2016 at 5:59 PM, Santiago Gimenez 
<[email protected]<mailto:[email protected]>> wrote:
Hi, I have Lens running on Ubuntu Server 14.04 and I can’t access the UI. I’ve 
compiled the new UI but anyway I can’t access it by entering the server IP 
address, port:8082.

Reply via email to