lockfile Questions

4

I am attempting to create new resources on GCP with a remote backend After doing terraform init plan -out=tfplan and then terraform apply tfplan I get the following error: Error: Inconsistent depen...
Counterstamp asked 31/1, 2022 at 7:58

15

Solved

npm 5 was released today and one of the new features include deterministic installs with the creation of a package-lock.json file. Is this file supposed to be kept in source control? I'm assuming...
Rimrock asked 26/5, 2017 at 17:3

25

Solved

When I run my flutter application it show Waiting for another flutter command to release the startup lock this messages and not proceed further.
Related asked 3/8, 2018 at 19:49

2

I'm migrating a Laravel+Sail project to use bun instead nodejs. According the Bun docs, after run bun i, a binary lockfile named bun.lockb (similar to yarn.lock) is created to increase performance....
Hacker asked 12/9, 2023 at 23:35

43

Solved

What's a quick-and-dirty way to make sure that only one instance of a shell script is running at a given time?
Astronomical asked 9/10, 2008 at 0:13

1

Update for 2020 This question originally referred to the yarn check command, but the docs state that this is deprecated in v1, and removed in v2, and yarn install --check-files should be used inste...
Subcartilaginous asked 15/1, 2019 at 13:52

0

I've downloaded an old repo on a new laptop (running on MacOS Catalina) and attempted to run a R script. The repo has a renv lock file - meaning, I should be able to restore all dependencies as the...
Incommensurate asked 4/8, 2021 at 8:25

1

I was wondering if the new lockfileVersion 2 was backwards compatable with older versions of NPM. Now since NPM 7 is released, a new package-lock.json file is regenerated to a different structure. ...
Warison asked 11/2, 2021 at 8:0

7

Solved

I'm writing a Python script that may or may not (depending on a bunch of things) run for a long time, and I'd like to make sure that multiple instances (started via cron) don't step on each others ...
Freeze asked 18/9, 2009 at 14:10

1

I have a custom merge driver for git that helps merge lockfiles in a large monorepo shared by hundreds of engineers. Because lockfiles churn quite frequently, it's not uncommon for these files to r...
Bonin asked 24/6, 2019 at 5:43

1

Our company uses an Artifactory repository for storing internally-published packages and as a proxy for the NPM registry. Sometimes the resolved field in lockfiles/shrinkwrap files is as expected, ...
Ingate asked 2/11, 2018 at 23:57

1

Solved

I use yarn to install packages directly from the companies' GitLab: yarn add git+ssh://<user>@<host>:<repo> For first-level dependencies, I use yarn --pure-lockfile to reconstru...
Infrangible asked 20/3, 2018 at 9:26

1

Is there a good way with npm (I'm on npm@5) to do a version bump for a nested dependency in a shrinkwrapped/lockfiled project? Doing an npm install package@latest --save will update the shrinkwra...
Chiapas asked 22/11, 2017 at 22:42

1

Solved

On a project I have replaced npm with yarn to get the benefits of it, and also enforce our dependencies are locked in via the yarn.lock. Now, a developer added a library with npm@4, which only chan...
Orlan asked 10/8, 2017 at 13:21

14

Solved

What is the simplest/best way to ensure only one instance of a given script is running - assuming it's Bash on Linux? At the moment I'm doing: ps -C script.name.sh > /dev/null 2>&...
Surtax asked 11/11, 2009 at 13:21

1

I searched for Bash how to create a mutex. I came across two different ways to create a mutex in Bash. Both are stackoverflow answers and both have >100 upvotes: one answer uses mkdir and the other...
Datnow asked 22/6, 2016 at 12:54

2

Solved

Is there a way to force git not to create index.lock for read-only operations like git status? I'm displaying the status of my working tree in tmux, being updated every couple of seconds. Basicall...
Emptyhanded asked 30/12, 2014 at 13:8

2

Solved

I have implemented a file locking mechanism along the lines of the suggestion from the linux man page for "open", which states: Portable programs that want to perform atomic file locking using a...
Fractional asked 27/2, 2013 at 15:59

4

I am trying to use Java Logger. I get my logger file (name.log) with the content, it works and I also get an empty name.log.lck file. Why does this file appear, what program is creating them and ...
Dust asked 27/4, 2010 at 17:1

2

Solved

I do my backups with rsnapshot which creates a lockfile with the process pid inside. Now I would like to make a backup from the rsnapshots backup, so I´m looking for a way to create this lockfile f...
Vanny asked 20/10, 2013 at 12:43

3

Solved

In GNU Make 3.81, I need to remove a lockfile in the event of an error in any part of the toolchain. Is there a special target that will allow me to do this? Do I need to write a wrapper script? I...
Curative asked 1/7, 2011 at 21:5
1

© 2022 - 2025 — McMap. All rights reserved.