So I tried to install a package called 'Image Processor' to our Umbraco build which I later found was incompatible. How do I manually remove this package from the build? I've tried removing all mention of 'ImageProcessor' from the Web.config, packages.config etc still no cigar.
This is the error we're getting.
Check in the /bin/ folder for the Image Processor DLL file. If this file is present, I believe that the application is trying to load it. However, this file requires something from Umbraco.Core which isn't there, so it crashes.
If you find the DLL, try deleting it and reloading the application.
Also, I assume you installed this package through Umbraco. In the future I would recommend using NuGet to install packages, as it allows you to add, update and remove packages without running the application (so if you were to get an error like this again, you would be able to easily uninstall the package).
Related
Is it possible to "install" a module just by pasting the file of the module and just paste it into the DesktopModules folder and have the modules working on the website?
If not, is there a way where I can export the whole module from one system and install it onto another system?
Have you tried creating a module package for this module? (when you click the edit pen for the extension, you should find a "Create package" button on the top right).
Take care to include the assembly/assemblies needed, and also the Sql Server scripts to install the module correctly (often found in the module folder under Providers/DataProvider/SqlDataProvider/*.SqlDataProvider). There might be other files in the module folder (images, css, etc), be sure to include them in the package, then try to create it. You will find the ZIP file under /install/Modules then, move it away from there somewhere on your local file system (otherwise the installer might try to install it with the next update). Then try to update the extension in a testing system, check if it works and you're done. If there are errors it might be that you are missing some files that have to be included. Check the error messages, and restart.
There used to be a way using the /Install/Module/ folder (put ZIP file there, then call /install/install.aspx?mode=installresources) If you are on an old version of DNN (7 and earlier?) you can still use this. But you've got a load of security issues that should drive you to upgrade.
I don't know of a good way to do this now. For security purposes DNN removes the Install resources after an upgrade.
IF you already have the module installed in both locations, you could copy the resources for the file from server to server (DLL in the BIN folder and the contents of the desktopmodules folder) assuming you don't have any MANIFEST file changes that need registered.
The command npm run build successfully build the package and the app runs in browser just fine.
But the VS2019 keeps complaining with
Error TS2307 (TS) Cannot find module '...'. Miscellaneous.
Is there a setting in the IDE where some things should be changed to make the the VS as happy as the npm?
EDIT
Restart of the IDE resolved one line but not the other
The answer is yes. There are settings in the project that might make the experience somewhat inconsistent.
VS uses project file (.csproj) and IDE default settings to configure typescript intellisence when the tsconfig.json file is not part of the project. The npm run build command (or similar CLI approach) on the other hand uses the tsconfig.json all the time. This may lead to mixed experience. Indeed VS will show false hints and errors if particular settings differ in .csproj and in tsconfig.json.
Make sure tsconfig.json relates to the build process as Content (rather than None) yet never copied to the output directory. This way you force the IDE to detect your settings and use them.
I trying to create a react native project, but always it gives me an download error (the create-react-native-app is installed), I try:
create-react-native-app Test
But always in the file ngrok-2.3.0.tgz I get an error. I downloaded the file manually, but I don't know where it goes, I try to put in AppData/Local/Temp (shown in the error text), but when running the command again, it overwrite the file and try to download it over again. Where are the react-native files to which I can put ngrok-2.3.0.tgz manually?
The registry had some issues a few days ago resulting in the same error.
Take a look https://github.com/npm/npm/issues/19816
You can also try doing things with yarn
Offline packages can be done with yarn link ngrok which will indicate yarn/npm to get the local copy of ngrok.
Currently my application is running on Evoq Content 7.3 and I was trying to upgrade it to Evoq Basic 8.5. I have copied the upgraded file into my application directory And now when I try to access the http://MYWEBSITE/install/install.aspx?mode=upgrade , It is giving error "resource can not found Requested URL: /install/install.aspx.
Please advise.
This looks like some files were removed from the install directory, probably as part of a security precaution. I'm not sure why they were not added back with the upgrade package.
You might be able to fix this by copying the install directory from an appropriate install package. Just the install directory.
As always, make a copy of your database and complete file directory first, just in the event that what you do fails.
I would like to ask you if someone has similar problem. I am using Sitecore.NET 7.2 (rev. 151021) with Solr. I need to add some items from prod to my local sitecore instance. When I create package and tried to install specific content I get exception null reference exception. It doesnt depend on the content. I tried to used package designer with varios content and always I get this exception.
As the comments indicate: Make sure that all of the supporting items that each item in the package require are in place in the destination before trying to install them through a package.
Normally, separate packages are created for Templates, Layouts and Content and installed in that order to avoid missing dependencies.
You can also look into disabling Index builds during package installation. I have a module out there that does this:
https://marketplace.sitecore.net/en/Modules/Detailed_Package_Installer.aspx