Hi Pritam,

Did you follow the steps on
https://github.com/apache/cloudstack/blob/main/ui/README.md ?

-Wei

On Mon, 7 Feb 2022 at 13:22, Pritam Neog <neog.geek...@gmail.com> wrote:

> Hello Wei,
> *npm install* produces the following error.
>
> npm ERR! code ERESOLVE
> npm ERR! ERESOLVE unable to resolve dependency tree
> npm ERR!
> npm ERR! While resolving: cloudstack-ui@1.0.0
> npm ERR! Found: vue@3.2.30
> npm ERR! node_modules/vue
> npm ERR!   vue@"^3.2.30" from the root project
> npm ERR!
> npm ERR! Could not resolve dependency:
> npm ERR! peer vue@"~2" from @fortawesome/vue-fontawesome@2.0.6
> npm ERR! node_modules/@fortawesome/vue-fontawesome
> npm ERR!   @fortawesome/vue-fontawesome@"^2.0.6" from the root project
> npm ERR!
> npm ERR! Fix the upstream dependency conflict, or retry
> npm ERR! this command with --force, or --legacy-peer-deps
> npm ERR! to accept an incorrect (and potentially broken) dependency
> resolution.
>
> Also what is the difference between *npm start* and *npm run build*. I'm
> fairly new to Node and these are probably pretty silly questions.
> Thanks for your time.
>
> On Fri, Feb 4, 2022 at 2:22 PM Wei ZHOU <ustcweiz...@gmail.com> wrote:
>
> > Hi,
> >
> > I think it is because you use python2 not python3.
> >
> > You can create a docker container to run a simulator environment. Please
> > refer to https://github.com/apache/cloudstack/tree/main/tools/docker
> >
> > I have built a docker image for cloudstack 4.16.0.0, you can try it as
> > well:
> >
> https://hub.docker.com/repository/docker/ustcweizhou/cloudstack-simulator
> >
> > -Wei
> >
> >
> >
> > On Fri, 4 Feb 2022 at 06:14, Pritam Neog <neog.geek...@gmail.com> wrote:
> >
> > > Thanks Wei and yes my management server was up and running. My motive
> was
> > > to deploy a simulator based environment. Now when I run
> > > *python2 tools/marvin/marvin/deployDataCenter.py -i
> > setup/dev/advanced.cfg*
> > > it throws the following error:
> > >
> > > Traceback (most recent call last):
> > >   File "tools/marvin/marvin/deployDataCenter.py", line 34, in <module>
> > >     from marvin.lib.utils import (random_gen)
> > >   File "/usr/local/lib/python2.7/dist-packages/marvin/lib/utils.py",
> line
> > > 30, in <module>
> > >     import urllib.parse
> > > ImportError: No module named parse
> > >
> > > I installed marvin using pip2 so I don't know why this is happening.
> Am I
> > > missing something?
> > >
> > > On Fri, Feb 4, 2022 at 12:46 AM Wei ZHOU <ustcweiz...@gmail.com>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > It looks like the management server is running. you can check if the
> > port
> > > > 8080 is open.
> > > >
> > > > for the UI, you can start it in another terminal.
> > > >
> > > > cd ui
> > > > npm install
> > > > npm start
> > > >
> > > > Please refer to
> > > > https://github.com/apache/cloudstack/blob/main/ui/README.md
> > > >
> > > > -Wei
> > > >
> > > > On Thu, 3 Feb 2022 at 19:34, Pritam Neog <neog.geek...@gmail.com>
> > wrote:
> > > >
> > > > > Hello all,
> > > > >
> > > > > I've been following the Hackerbook to build cloudstack. The mgmt
> > server
> > > > > stucks in a loop when I run
> > > > > *mvn -pl :cloud-client-ui jetty:run -Djava.net.preferIPv4Stack=true
> > > > > -Dsimulator*
> > > > >
> > > > > This is the log I get and it just repeats with different
> > AccountChecker
> > > > and
> > > > > logid :
> > > > >
> > > > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > > > (logid:3281c71b) Found 0 removed accounts to cleanup
> > > > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > > > (logid:3281c71b) Found 0 disabled accounts to cleanup
> > > > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > > > (logid:3281c71b) Found 0 inactive domains to cleanup
> > > > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > > > (logid:3281c71b) Found 0 disabled projects to cleanup
> > > > > INFO  [o.a.c.e.o.NetworkOrchestrator]
> > > (Network-Scavenger-1:ctx-8a0ebaab)
> > > > > (logid:e90dc939) NetworkGarbageCollector uses '20' seconds for GC
> > > > interval.
> > > > >
> > > > > API endpoint on Port 8080 on localhost loads default jetty layout
> > > (while
> > > > it
> > > > > is still looping) with a client directory which reads 'you are in
> dev
> > > > mode,
> > > > > please build using npm'
> > > > >
> > > > > Don't know what's causing this. Any help will be appreciated.
> > > > >
> > > > > Kind regards,
> > > > >
> > > >
> > >
> >
>

Reply via email to