Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Global install failure #12

Closed
interstellerS opened this issue Jun 24, 2015 · 13 comments
Closed

Global install failure #12

interstellerS opened this issue Jun 24, 2015 · 13 comments

Comments

@interstellerS
Copy link

Hi ,

I tried installing jhipster-uml :

$ npm install -g jhipster-uml  

in windows / linux (ubuntu) , it fails with this log output :

> deasync@0.1.0 install C:\Users\Administrateur\AppData\Roaming\npm\node_modules\jhipster-uml\node_modules\deasync
> node ./build.js

Build failed
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\iojs\\node.exe" "C:\\Program Files\\iojs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "jhipster-uml"
npm ERR! node v2.3.1
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! deasync@0.1.0 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deasync@0.1.0 install script 'node ./build.js'.
npm ERR! This is most likely a problem with the deasync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls deasync
npm ERR! There is likely additional logging output above.
@MathieuAA
Copy link
Member

Hi,

I just tried the -g option, and everything's fine for me.
I'll do some tests.

@interstellerS
Copy link
Author

Yes , i think jhipster-uml is fine .
it's just related to deasync package that need some sort of envirement installed packages to compile .

npm ERR! This is most likely a problem with the deasync package,

@MathieuAA
Copy link
Member

I'll try to test the installation of everything on a clean (no node, no package) machine, and see if it fails.

Does the standard way to install a package work for you? By standard I mean npm install jhipster-uml.

@interstellerS
Copy link
Author

I get the same error as global install .

@MathieuAA
Copy link
Member

Maybe this is caused by your configuration...

I'll try to test on a Windows machine. If it can't build deasync, then something must be missing.

@interstellerS
Copy link
Author

Right , installing deasync lead to same problem .
You can go ahead an close this issue . thanks for you quick reply 👍 .

@MathieuAA
Copy link
Member

If you can't install deasync, then an alternative to deasync must be found.
I'll close this thread and open another to replace this package, or find a way to install it everywhere.

@interstellerS
Copy link
Author

I confirm it's a configuration issue (installing Python , MS express ....) like explained in this git :

https://gist.github.com/nullivex/7115612

fix deasync issue ans jhipster-uml is installed like charm .

@MathieuAA
Copy link
Member

Ok! Nice to hear it =)

@interstellerS
Copy link
Author

Yup , jhipster is really cool . thx for your work !

Unrelated question : does jhypster-uml generate Enumuration attiributes ?

I modelled an Enum in the uml but in code i just get the name

@Column(name = "sport")
    private  sport;

Instead of

@Column(name = "sport")
    private  Sport sport;

@MathieuAA
Copy link
Member

Since JHipster doesn't support Enums (to my knowledge), we don't support them either.

@interstellerS
Copy link
Author

There's an issue about that : Enums in Jhipster .

And a pull request is being merged 3 days ago : Use enumeration for field type .

I guess it's too early to be implemented in jshipster-uml . Could this be supported in future version ? :)

@CarlKlagba
Copy link
Contributor

We want the users to be able to do the same things that they can do with JHipster but faster, so yes we will implement it, but for now we are focusing on some pretty neat new stuff for JHipster-UML. ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants