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...
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.
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....
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?
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. ...
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 ...
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...
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...
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>&...
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...
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...
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...
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 ...
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...
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...
1
© 2022 - 2025 — McMap. All rights reserved.