Open miguelemosreverte opened 7 years ago
Hi @miguelemosreverte
Thanks for checking out the repo, and describing the issues you have had.
Firstly, it's important to note that I haven't really added any functionality to this repo in about 3 years, and it's using an old version of Angular 1.x.
I just did a fresh clone and bower install && npm install
, and then ran grunt dev
... I got different errors from you:
❯ grunt dev
Running "clean:dev" (clean) task
Running "jshint:files" (jshint) task
Warning: Path must be a string. Received null Use --force to continue.
Aborted due to warnings.
I'm guessing that the errors are related to the original code using an earlier version of npm
, bower
, or grunt
– or several of those.
For reference, I am using macOS Sierra (10.12.6), and the following versions of the above utilities:
❯ npm --version
3.10.10
❯ bower --version
(node:73287) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
1.4.1
❯ grunt --version
grunt-cli v0.1.13
grunt v0.4.5
Unfortunately at this time I don't have the time to investigate further. I'd also guess that there are many other boilerplate repos for Angular 1.x.
Have you tried out Angular (2+)? It's a steep learning curve, but worth the time investment IMO.
Matt
Once
bower install && npm install
was ran, now inbower_components/
all of the needed components where installed, ready to be used.There was a small problem, though: When running grunt dev, this was in the output:
The problem was that angular-ui-bootstrap did not have the
dist/
folder.I managed to solve this by running the following commands:
Is there a better way of solving this problem? Why did this not happen before? We are using the same versions of the library!