Questions tagged [post-install]

This tag is used for user-defined scripts that are executed by a package manager after the installation of a software package.

100 questions
0
votes
0 answers

Post install is replacing npm install folder in linux

I am doing npm install ,after that it is creating node modules folder . then there is post install option is there which is working fine in windows but in Linux box it is deleting node modules and creating again . package.json format: { …
0
votes
0 answers

While installing ReactJs, i got Require post install error

Firstly i install nodejs and then using npm i install package name create-react-app globally and then created react app using npx create-react-app app-name , i got the following error: core-js@2.6.11 postinstall PATH node -e…
0
votes
1 answer

Installing Node using Brew fails

I ran brew install node it said Warning: The post-install step did not complete successfully You can try again using `brew postinstall node. I then ran brew postinstall --debug node and then it failed with: An exception occurred within a child…
Harvey
  • 21
  • 3
0
votes
1 answer

Issues in npm post-install script

Want to run meteor in project directory, but npm is not getting installed properly in directory. There is some error in npm post-install script. My project is based on Linux but due to issues i have to run the server from windows. Front end is…
0
votes
1 answer

HowTo run a script after MSI installation was completed? MSI created with VS2010 + Setup Wizard

Targets: I have MyAPP.exe (build in VS2010) & MyDriver.sys (build with VS2010 + WinDDK) What I'm trying to do: is to create a Setup Wizard project, which can run post-install action, for example, I need to install the driver after installation…
mosg
  • 12,041
  • 12
  • 65
  • 87
0
votes
1 answer

unable to run the postInstall in package.json file to update the web driver manager in protractor node modules

under devDependencies i have placed the post install as below and wanted to update webdriver-manager "devDependencies": { "@angular/cli": "1.6.8", "@angular/compiler-cli": "^5.2.0", "@angular/language-service": "^5.2.0", "@types/jasmine":…
user1498069
  • 124
  • 2
  • 14
0
votes
0 answers

Is this safe to use postinstall in npm packages?

I want to use npm postinstall hook in my package to achieve my requirement. is this safe to use, I mean will it create security issues? I am using like below: "scripts": { "postinstall" : "node ./tagchange.js", "scripts": "gulp…
Kumaresan Sd
  • 1,399
  • 4
  • 16
  • 34
0
votes
2 answers

Run gulp task after NPM package install without any command

I've developed a small angular package that is hosted on npmjs. when I try to install my package I want to change my "selector" name so that I have written one gulp task like below: gulp.task('tag-change', function () { // var files =…
Kumaresan Sd
  • 1,399
  • 4
  • 16
  • 34
0
votes
0 answers

When postupgrade is indeed called in MacOSX pkg?

Good morning, I am reading about the prepared scripts in MacOSX to use when creating a pkg for my application. In particular, I have some doubts how to make sure that postupgrade script is used. What I read till now is: from here The postupgrade…
n3mo
  • 663
  • 8
  • 23
0
votes
1 answer

npm install - how to trigger npm task as a post-install hook?

After npm install is run I would like to run npm run jspm install I have package.json "scripts": { "postinstall" : "npm run jspm install", "jspm": "jspm" }, This throws an error since npm run jspm install gets passed to node rather than…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
0
votes
1 answer

Can I add a custom step to a nuget install

I'm investigating ways to allow many website projects to pull from the same collection of CSS/JS/HTML and have that collection be updated once and then delivered to all the projects that use it. At the moment, I'm exploring using a NuGet package (my…
xmakina
  • 11
  • 2
0
votes
2 answers

dpkg postinst mkdir -p /var/{cache, run, doc} doesn't work as excepted

I am running following command in postinst script of custom dpkg package mkdir -p /var/{cache,run,doc} The command works but create single dir named /var/{cache,run,doc} not three seperate dirs in /var . Is there any alternative to do…
0
votes
1 answer

In bash script Symlink are not getting created even though the commands are executed successfully

I am new to RPM Package enhancement/development and working on post-install script. I want to achieve the symbolic links creation on execution of post-install script but stuck on a issue. The script execution is working fine for symbolic link…
user1878934
0
votes
1 answer

Building targets in podfile post_install hook

In my podfile I am using a post install hook to add build phase scripts to the Pods project targets and build each of the targets. The problem I am having is I that am using system "xcodebuild -target #{target.name} -sdk iphonesimulator" which is…
user
  • 115
  • 8
0
votes
1 answer

rpm rename (obsolete) while updating deletes required folders

I have currently installed a version of rpm (x.rpm) that needs to be renamed in the next version (y.rpm). To accomplish this, I decided to obsolete the old (x.rpm) rpm. When I run the rpm –Uvh y.rpm on the new rpm here are the steps that takes…