I have deployed angular 8 project in linux sub domain (web.mydomain.com), but when I am accessing web.mydomain.com directory listing is showing instead of loading website, but when I am accessing http://web.mydomain.com/index.html it is working. Below is the htaccess file looks like : Answer Add following line in your htaccess Either you may try
Tag: angular
I want to automate my angular build using pos-receive in background process
I want to automate my angular build using pos-receive and i want it to run in backgound process so I will not wait to finish the command. I tried the following the following code on my post-receive but it doesn’t work. post-receive I also tried to create a separate executable script on usr/local/bin directory like this build-app-script then on my
How to run npm or angular 2 ng serve command from Bash Script?
I am looking to create an interactive bash script for our development team (never did this before) as our project has various needs and due to future growth on the team I want this to be easy as pi. Normally for my work on the team I would change directory to the angular folder and run ng serve which kicks
Angular2 AOT ngtools/webpack failed on linux
My project is building on Linux and I’ve no idea why. The distribution is Red Hat Enterprise Linux Server release 7.0. My environment is: When I build the application with ngtools/webpack with the following command: It fails at the end of the compilation, but as we can see in the log, it generates the dist folder with the build. I
Work Around or Fix for NPM lite-server on Linux error when running Angular 2 Quick Start
I am unable to start the lite-server 2.1.0 using npm on Ubuntu 14.04. I am trying to run the Angular2 Quick Start example. This problem may be specific to Linux and only started to occur after a recent update to Ubuntu. I am able to run the Angular2 Quick Start successfully on Windows 8.1. I have tried various different versions