T
T
Turtle_Onni2016-04-07 16:55:17
Angular
Turtle_Onni, 2016-04-07 16:55:17

Where are the errors coming from?

Hello!
There is an asp.net + angularjs site. During development, when deployed to a local server(iis), there are no errors. After the transfer to the working server, errors began to appear, mainly of the type:

Module 'adminNavigation' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Unknown provider: nProvider <- n
Scripts are attached via bundlesConfig.
Perhaps the problem is that all the scripts are combined into one?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-04-08
@Turtle_Onni

Yes. I had this, after transferring to a combat server, the scripts stopped working, although everything was ok on the local one, turned off the bundle optimization (connection to one script) and everything became ok.

A
Alexander Kondaurov, 2016-04-08
@kondaurov

A simple mistake, the script in which the 'adminNavigation' module is created is not loaded. Is it really connected?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question