Bower does not generate component.json file, throws an error

Well, that’s why my problem is with the use of Joman, in particular Bauer.

On my laptop (OSX SL) and the laptop of my colleagues (OSX ML), the Yeomen set is installed perfectly, and the AngularJS project can be successfully lifted and then viewed with grunt.

My other machine (ML) may scaffol an angular project, but the component folder is never generated. Because of this...

grunt server 

throws an exception, obviously, because the AngularJS file does not exist.

I looked at the Bower repo issues, but can't find anything directly related to this issue. Bower also throws the same exception (tmp.js: 260) when trying to install any project.

ss

I uninstalled / reinstalled to make sure that I have the latest version (0.9.2) installed, the same for other applications and the angular generator - all this is relevant (also make sure that I am set using the global flag).

I compared the $ PATH file with my colleagues and it was identical, so I solved it.

Has anyone else encountered this problem? I'm at a dead end so that I can troubleshoot, so any ideas are welcome :)

thanks

+4
source share
1 answer

git should be available on your command line (in your $ PATH). Try running git on the command line to make sure it works.

+2
source

Source: https://habr.com/ru/post/1485987/


All Articles