Comments (8)
I'm seeing the same thing. Looking at bower.json I don't see require.js in there. I did a fresh install on a new computer of generator-angular this morning.
I tried adding require to bower.json, but that didn't help:
$ bower install
bower requirejs#~2.1.10 cached git://github.com/jrburke/requirejs-bower.git#2.1.14
bower requirejs#~2.1.10 validate 2.1.14 against git://github.com/jrburke/requirejs-bower.git#~2.1.10
bower requirejs#~2.1.10 install requirejs#2.1.14
requirejs#2.1.14 bower_components/requirejs
$ grunt build
Warning: Task "requirejs:dist" not found. Use --force to continue.
Aborted due to warnings.
Using --force
didn't help either.
thanks,
Scott
from generator-angular-require.
Was there perhaps a structural change to generator-angular?
It looks like bower_components is now in the top directory instead of /app. Older versions had bower_components like so:
/app/bower_components
FWIW, I am able to get generator-angular to build and install without issue.
thanks,
Scott
from generator-angular-require.
Fixed in f0c5e17 - will be in next publish to npm
from generator-angular-require.
Thank you @aaronallport
Will this also fix bower_components not being inside /app? Is that actually part of the problem at all?
thanks,
Scott
from generator-angular-require.
The ref to requirejs under bower components is correct - the next build to npm will resolve (local testing this evening looks good, but due to the way in which main.js is now written, generator tests are failing, which is what I'm resolving today/tomorrow)
from generator-angular-require.
Excellent excellent. Thank you for fixing that!
from generator-angular-require.
Fixed in https://github.com/aaronallport/generator-angular-require/releases/tag/v0.2.6 - This has been published to NPM
from generator-angular-require.
Confirmed! Thanks for the fix!
from generator-angular-require.
Related Issues (20)
- Added generator-angular-require to comparison of starters HOT 2
- On newly generated, package.json has "grunt-filerev": "^0.2.2", version doesn't exist HOT 6
- Lazy loading controllers HOT 2
- when I run 'grunt build', it's has a error HOT 2
- JQuery... How to add in the require.config so can load before angular? HOT 2
- Path to long in MSBUILD Task UTF-8-Validate HOT 1
- Grunt and Requierejs? HOT 2
- Support namespace support for angular module HOT 3
- RequireJS can't find angularjs and the other angular modules (ngRoute, ngResource) HOT 6
- angular-ui-router addition HOT 2
- Avoid combining script to single js file HOT 1
- Fix tests HOT 1
- Getting dependency errors of grunt & karma HOT 1
- Angular Modules' quotes being displayed as html entities
- Add typescript version of generator files HOT 1
- How to structuring a project with mulitple app ?
- use the generator,show "Uncaught ReferenceError: ngCookies is not defined" HOT 2
- installing on git bash HOT 1
- yo angular-require [project name] installation error HOT 1
- came out without warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-angular-require.