-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Failed to instantiate module ngSanitize" on fresh development install (docker) #4465
Comments
I was able to get it running by setting the angular-sanitize version number equal to the angular version number in package.json |
Also now noticed that the "npm audit fix" must have edited the package.json, explaining why only I encountered this problem. So this is not really a bug, closing. |
@phdowling Hey, I am getting this issue. the angular version in packge.json is "~1.5.8". I did the npm audit fix once. But after reading this thread, I reverted changes in package.json, cleaned the modules and again ran "npm run build". In which file I have to make version change? |
Are you sure you're using recent version of the code? Current master branch has no Angular dependencies. |
@arikfr my setup was redash version 8.0 and node version was 10.0. I upgraded node version to 12.0 and I did not get this issue. |
Did you ever fix your issue? I am also getting the same error. V 8.0 |
Issue Summary
On fresh local dev install following https://redash.io/help/open-source/dev-guide/docker the following error message appears after I create an admin account:
Steps to Reproduce
Following the steps in the guide linked above. I may have done a "npm audit fix" at one point, but I also deleted all docker containers and images, as well as node_modules after that, did a re-install and the same thing happened again (without audit fix).
Technical details:
Edit: traced it down a little more precisely, the issue occurs in angular.js at line 5041:
runInvokeQueue(moduleFn._invokeQueue);
in the loadModules() function for the module "ngSanitize". Angular version is 1.7.9
The text was updated successfully, but these errors were encountered: