Comments (15)
I have the same problem. Does hint.js "require" requireJS or some other module loader, that our project doesn't have??
from angular-hint.
@brettjacobson not the compiled version.
Can either of you post repo code? Somehow it's passing undefined values.
from angular-hint.
I've got the same problem
running my app
but only in chrome !!! in firefox the app works fine.
Mint distro
If I disable the extention the app works fine
from angular-hint.
I noticed my Chrome debugging session all of a sudden hit this when I hadn't changed anything that I thought would cause it, and I wasn't using hint.js. It turns out, it was from the AngularJS plugin in the debugger. If I disable AngularJS debugging and only use the rest of Chrome's debugger I'm fine.
from angular-hint.
disabling the plugin worked, thank goodness. couldn't find any changes in the diff that would have caused it.
from angular-hint.
I can't reproduce this.
What version of Angular are you running this against? Can you create a small example that demonstrates the problem?
from angular-hint.
I have the same problem: My app was working well until this morning. If I deactivate theBatarang
extension, everything work as expected, once I activate it and refresh the page I got this error.
Did you have any idea how to fix it ?
from angular-hint.
Same issue here. I re-bowered my site last night to add more libraries and noticed the problem right afterwards. My versions and plugins are:
- ui-router-extras 0.1.0
- angular 1.4.8
- angular-ui-router 0.2.15
- angular-animate 1.4.8
Thought the versions of plugins and which are involved may be helpful for reproducing/figuring this out.
from angular-hint.
There was a regression in v0.10.2. Can you all please make sure you're on
v0.10.4? I'll try and take a look today if people are still seeing this.
Thanks!
On Thu, Dec 3, 2015, 08:29 Paul Fox [email protected] wrote:
Same issue here. I re-bowered my site last night to add more libraries and
noticed the problem right afterwards. My versions and plugins are:
- ui-router-extras 0.1.0
- angular 1.4.8
- angular-ui-router 0.2.15
- angular-animate 1.4.8
Thought the versions of plugins and which are involved may be helpful for
reproducing/figuring this out.—
Reply to this email directly or view it on GitHub
#114 (comment)
.
from angular-hint.
You might need to do it manually (updates don't always all go out at once).
Hamburger menu -> More Tools -> Extensions
Then click the "Update Extensions Now" button:
from angular-hint.
I'm not sure if I was in v0.10.4 or not. I just reinstalled the extension and the error disappeared.
from angular-hint.
Confirmed fix - thanks!
from angular-hint.
I'm still getting this exception; i've uninstalled Chrome extensions, and I'm getting the exception in Internet Explorer, too. When I debug, there is no "name" property on "module" (hence the exception).
angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module ngHintModules due to:
TypeError: Cannot read property 'name' of undefined
at module.exports (http://localhost:8596/bower_components/angular-hint/dist/hint.js:1055:30)
at http://localhost:8596/bower_components/angular-hint/dist/hint.js:1061:21
at Array.forEach (native)
at module.exports (http://localhost:8596/bower_components/angular-hint/dist/hint.js:1059:33)
at http://localhost:8596/bower_components/angular-hint/dist/hint.js:1061:21
at Array.forEach (native)
at module.exports (http://localhost:8596/bower_components/angular-hint/dist/hint.js:1059:33)
at http://localhost:8596/bower_components/angular-hint/dist/hint.js:1355:17
at Object.invoke (http://localhost:8596/bower_components/angular/angular.js:4450:17)
at runInvokeQueue (http://localhost:8596/bower_components/angular/angular.js:4356:35)
http://errors.angularjs.org/1.4.3/$injector/modulerr?p0=ngHintModules&p1=Ty…F%2Flocalhost%3A8596%2Fbower_components%2Fangular%2Fangular.js%3A4356%3A35)
from angular-hint.
How are you including angular-hint in your codebase? If it's happening on Internet Explorer, that's not through Batarang.
from angular-hint.
I disabled Batarang and this problem still exists.
from angular-hint.
Related Issues (20)
- RFC: Improving hints related to $parse HOT 1
- causing infinite digests on angular material wesbite
- $watch override makes one-time bindings in expressions to never clear the associated watch HOT 2
- Incorrectly reports digest time HOT 2
- Error when loading angular-hint with requirejs HOT 7
- Validate directive / component definition HOT 1
- Script Error in requirejs environment, cannot load angular-hint. HOT 2
- Not seeing any warning /Error on console.
- Log / Warn for naming collisions in registerables (directives, controllers, filters etc.)
- hint.js giving error, Cannot read property 'name' of undefined HOT 2
- A semicolon error
- dist angular-hint.js file to be used without requirejs? HOT 7
- NPM install fails HOT 1
- Reconsidering bower? HOT 4
- humanReadableWatchExpression error on app load HOT 2
- Why controllers, dom and directives not working? HOT 1
- "$event is undefined"
- Unexpected end of expression when using 'angular-ui-bootstrap' HOT 4
- A bower-angular-hint would be nice HOT 1
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 angular-hint.