ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

Working site now getting error: No Module ui.state

Open AlexRoscoe opened this issue 13 years ago • 6 comments

My site: http://alexroscoe.com is using the ui-router to switch between pages. It was working but something that occurred in the last month or so has somehow broken it's functionality and I cannot figure out what. I have tried switching all my dependencies off the cdn's they are currently using but that didn't seem to work :/ any ideas?

AlexRoscoe avatar Sep 15 '13 16:09 AlexRoscoe

'ui.router'

nateabele avatar Sep 15 '13 16:09 nateabele

It's really not a good idea to put a reference to the github.io copy of the library in a production app:

http://angular-ui.github.io/ui-router/release/angular-ui-router.js

laurelnaiad avatar Sep 15 '13 16:09 laurelnaiad

Changing it to 'ui.router' does not fix the issue; just changes it to complaining about not seeing 'ui.router' :/ and in my version of the site I have changed it to reference:

http://cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.min.js

rather than the github.io copy. Also no effect. Thank you for your suggestions though

AlexRoscoe avatar Sep 15 '13 21:09 AlexRoscoe

That's not ui-router you're referencing.

http://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.0.1/angular-ui-router.min.js

Alternatively, you'll probably be best referencing your own copy of 0.2.0 until 0.2.0 is on cdnjs or something.

laurelnaiad avatar Sep 15 '13 21:09 laurelnaiad

Thank you so much, the problem was definitely referencing the github.io version on the live site and then having accidentally subbed it out for the wrong reference when I thought that was the issue.

AlexRoscoe avatar Sep 15 '13 21:09 AlexRoscoe

Good - I was looking forward to seeing what you do on the piano.

laurelnaiad avatar Sep 15 '13 21:09 laurelnaiad