ghiden / angucomplete-alt

Autocomplete Directive for AngularJS. A fork of Daryl Rowland's angucomplete (https://github.com/darylrowland/angucomplete) with some extra features.
https://ghiden.github.io/angucomplete-alt
MIT License
943 stars 495 forks source link

Error: Cannot find module 'angular' #380

Open mavericreal opened 8 years ago

mavericreal commented 8 years ago

We keep getting the error:

gulp-notify: [Compile Error] Error: Cannot find module 'angular' from '/........./assets/bower_components/angucomplete-alt'

Even if angular is required like this on the main file:

require '../bower_components/angular/angular'

Is there any documentation about how angucomplete-alt wants angular to be required?

Thanks!

daya-cd commented 8 years ago

same error using Angular AMD. @raulsann any luck ?

jorool commented 7 years ago

I'm facing the same error using angular 1.5.0 with electron.

bergpb commented 5 years ago

Same error here, any update?

bergpb commented 5 years ago

I resolve the problem changing some code in directive: https://gist.github.com/bergpb/3d356468c5c5b196713c8f9c4a895e2a