Bower (bower_components) item missing in browser but present on server - angularjs

I'm trying to debug a really bizarre issue. As part of the build process on a project I'm working on, a bower_components folder is created with all the packages listed in the bower.json file. This process seems to complete successfully. However, when I refresh the project and view it in the browser, there is a single missing package (in this specific case it is angular-ui-sortable). The package is present in bower_components directory on the server, but absent when viewing that same directory in Chrome devtools. The missing package is breaking the UI since Angular throws an "$injector error" because it is unable to find the missing package. The question I have is, how do i even begin to debug this issue. I've confirmed that I'm looking at the correct folder as well as checked the missing package's permissions. I've also confirmed that the package is correctly included in the project's index.html file.
Any advice is greatly appreciated.
Thank you.

Related

PimCore X Not Loading

I've been following the guide found here, https://unixcop.com/how-to-install-pimcore-on-ubuntu-20-04/, to install the PimCore X version from scratch on a fresh server.
However, after going through all of the steps and firing up the initial home page, I get the profiler complaining about a number of 404 errors for resources that it cannot find within the /_wdt/ folder, with the profiler never loading.
The admin section of PimCore cannot be loaded either, it comes up with a big 404 error, so I'm guessing that the router isn't working properly. Looking into the log files for both PimCore and Apache, there isn't anything useful to be found.
I've tried to install PimCore several times, each with the same result.
Any help would be gratefully received.
It turns out that the .htaccess file within the /public/ folder wasn't being installed with the fresh install. The .htaccess file contents can be found here, https://pimcore.com/docs/pimcore/current/Development_Documentation/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration.html
Best way to install Pimcore are using docker.
You can read it on github page https://github.com/pimcore/skeleton
All that you need is install docker.
You can do it from this link https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04

Umbraco Package (ImageProcessor) Crashing site

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).

Cannot find node_modules

From reading around, I have a similar problem to what is stated here:
Angular 2 and Eclipse - Failed to load resource: the server responded with a status of 404
The project structure is (created by ionic):
- main
- node_modules
- www
- js
- app.js
- index.html
- package.json
A link to one of the files in node_modules looks like this (in index.html):
<script src="../node_modules/angular-bootstrap-datetimepicker/src/js/datetimepicker.js"></script>
WebStorm can find the file and has no complaint in the IDE
When inspecting the network in the console, I can see it's trying to find node_modules in www.
So the route URL is http://localhost:8100/
The path for app.js is: http://localhost:8100/js/app.js
The path for datetimepicker.js is: http://localhost:8100/node_modules/...
So it's looking for node_modules within the www directory which I am not entirely surprised about.
Since this structure was setup by ionic and the project has just got larger, it's difficult to change the structure (which I thought would be the most viable to do). But are there any other work arounds I can do to get this working?
Also, since I select to move up a directory (..) to look for node_modules, does the webapp just omit this as it knows of no other directories higher than itself?
EDIT:
Looking at this question, I have followed the advice given by moving the datetimepicker.jsinto www/lib but it's still not working. Have not attempted to use bower yet
Open Your command prompt .Go to your project directory and run npm Install Hope this will solve your problem

Drupal error "CKEditor is already installed" when trying to install

I installed CKEditor, but for some reason, when I opened the configuration, Drupal says: "CKEditor not installed."
I deleted the folder from sites\modules\ckeditor, then tried to install a different version. On trying to install, it still said "CKEditor is already installed", even though I'd deleted it (and checked it was no longer in the list of modules).
I guess there might be some trouble with the database.
How do I solve this?
Im idiot. Cause I opened by mistake a different FTP, user and was looking at different folder all/sites/modules.....in this folder I deleted everything, but of course the web I was working on had different module folder :-(. So it kept telling me CKEDITOR was installed why I couldn see it... I ll shoot myself soon. Sorry.

DotNetNuke uninstalling modules and deleting files

I have recently completed Clinton Patterson's guide on DNN module development and was just playing around with the module that I have developed (reinstalling the module, uninstalling the module, etc).
However, some of my source files including View.ascx, Settings.ascx, Edit.ascx, module.css, 00.00.01.SqlDataProvider, Uninstall.SqlProvider, ReleaseNotes.txt, License.txt went missing all of a sudden and is nowhere to be found.
I am not too sure why this is happening but I am suspecting it's due to me uninstalling the module and selecting the "Delete Files?" option when uninstalling. Now I am unable to install the module anymore as all the files mentioned above can't be found in my project anymore.
So my question here is whether my assumption is correct in which I have 'accidentally' deleted my source file when uninstalling the module? And if so, is there any way that I can recover those files because I can't seem to find them anywhere (not even in the recycling bin).
Anyway, shouldn't uninstalling a module deletes those files that were installed and not touch the original source files? Sorry I am rather new to this and I can't really find any similiar questions about this online. Thank you very much!
P.S: I am using DotNetNuke Community Version 07.01.02 if that helps.
Uninstalling the module:
Selecting the 'Delete Files?' option when uninstalling the module:
I don't believe that will remove the files if there's a PROJECT or SOLUTION file in the directory.
It's a safety catch for development environments. I would just manually delete them after you go though the uninstall process.

Resources