All Questions
26
questions
0
votes
0
answers
16
views
Angular microfront end w/ tailwindcss
i use module federation and multirepo in angular, i have a shell, an app (MFE) and a shared-ui
so in my shared-ui i have installed tailwindcss, i have my file tailwind.config.js and a styles.scss ...
0
votes
1
answer
185
views
How to run a nx script and nodemon script in one-line shell command?
My project is Angular. I have added a script line for running nx and nodemon commands inside of the package.json. The first command runs but the second one does not. If I stop the process and then the ...
1
vote
1
answer
58
views
Docker entrypoint script for image build not correct
I am building an Docker-Image for a Angluar Web-App and in the image creation I build the angular boundle using a node-image as base and then copy the dist folder to an nginx webserver. As an ...
0
votes
1
answer
173
views
In Visual Studio Code Angular commands work in Command Prompt Shell but not in Bash Shell
Tried to create an Angular project this morning (ng new project-name) in the Visual Studio Code terminal, but I got command not found. Tried to check the version of Angular (ng -v) but again command ...
0
votes
1
answer
455
views
How do you import the node module "child_process" into an angular project?
I am trying to run a shell script in my angular application. I found that I might be able to use the node library "child process" to do this. However, either way I try to import the library ...
0
votes
1
answer
187
views
How do I get a new JSON entry in Elasticsearch for each file in the folder
I have an asset folder with various mp3 files in a folder in Angular. I am accessing an empty Elasticsearch index through angular. For each file a document should be added to the Elasticsearch ...
0
votes
1
answer
66
views
Ionic running on a terminal but not on an other! Under Mac OS
i have the problem that ionic is running without any problem in a Terminal but when i open another terminal the ionic command is not recognized!
I am using the same shell on both terminals.
Can ...
0
votes
1
answer
656
views
Deploying Angular App using the Gitlab CI causes an error in the tmp directory
Good Evening,
I am trying to deploy my Angular app to Heroku via the Gitlab CI. I have an API key saved in the environment file that is in Angular. I am creating the folder and file in my Gitlab CI, ...
-1
votes
1
answer
255
views
Sh script : run npm / http-server
I am writing a shell script that builds an angular app (ng build) and then runs a web server on the dist folder where angular bundles the app. The web server is run using the http-server command. (...
0
votes
0
answers
237
views
how to print .sh files in linux
Here I'm printing the Linux command and echoing the result
cpu_info() {
local lscpuCommand=$(type -P lscpu)
result=$($lscpuCommand \
$AWK -F: '{print "\""$1"\": \""$2"\"," } '\
)
$...
0
votes
1
answer
686
views
Error while running shell script in Jenkin pipeline
I need to remove all files from directory except name matching one defined in variable.
stage ('build'){
sh "npm run build"
sh 'rm -v !...
2
votes
1
answer
33
views
Shell script/regex to replace sentences except for a keyword in the middle (refactoring Angular directives)
I need to replace all Angular translation directives with those from ngx.
In short this means changing:
<dt i18n="test label@@testLabel">test</dt>
to
<dt [translate]="'testLabel'"&...
0
votes
1
answer
1k
views
How can I run shell scripts on a remote linux server using an Angular(8) UI?
So, I have been doing MEAN stack web development for some time now. I am normally used to Angular UI development and executing CRUD operations using node servers.
Now, I have a new requirement - ...
2
votes
2
answers
650
views
ng is called instead of git when I use rebase or another flags
Hello I have a machine in my job, with angular-cli and git installed.
The problem is that when I try to do git rebase, or another "complex" git command, this returns the following:
The specified ...
1
vote
1
answer
689
views
Use environment variables to feature flag features in Angular 7
I want a way to feature flag things without having to make a code change.
I've seen solutions that involve using the environment.ts files where you specify which features to enable/disable. This is ...