並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 20 件 / 20件

新着順 人気順

lockfileの検索結果1 - 20 件 / 20件

  • lockfile-lintを使うとOSSのnpmパッケージでロックファイルにマルウェアを仕込まれるリスクを軽減できる

    OSSのnpmパッケージにおいて、第三者によるPRでyarn.lockやpackage-lock.jsonなどのロックファイルに変更が加えられている場合、すべての変更を徹底してチェックしなければならない。 なぜなら、パッケージの参照元となるyarnやnpmのレジストリのURLをしれっと改ざんされてしまうリスクがあるため。 例えば以下の画像のようにyarn.lockに定義されたパッケージのresolvedがhttps://registry.yarnpkg.com/...からhttps://malicious.example/...に書き換えられてしまうかもしれない。 lockfile-lint このリスクを軽減するのにlockfile-lintが便利。 例えば👆のコマンドではyarn.lockの中で npmとyarnのレジストリ以外のURLが参照されていないか すべてhttpsのURLにな

      lockfile-lintを使うとOSSのnpmパッケージでロックファイルにマルウェアを仕込まれるリスクを軽減できる
    • GitHub - lirantal/lockfile-lint: Lint an npm or yarn lockfile to analyze and detect security issues

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - lirantal/lockfile-lint: Lint an npm or yarn lockfile to analyze and detect security issues
      • Nicolas Mattia – Lockfile trick: Package an npm project with Nix in 20 lines

        December 18, 2022 I recently needed to package a JavaScript npm project with Nix. This is very simple to do and does not require any ugly workarounds like importing from derivation or generating Nix files and works just fine with sandboxed builds. Here’s the general idea and an example. The idea is to use the project lockfile (package-lock.json) to tell Nix how to fetch the dependencies. Then we u

          Nicolas Mattia – Lockfile trick: Package an npm project with Nix in 20 lines
        • "You must use Bundler 2 or greater with this lockfile" に対応する - Qiita

          2019年1月4日に bundler の 2.X 系がリリースされた.2.X 系の bundler がインストールされている状態で bundle update などすると Gemfile.lock の BUNDLED WITH が書き換わる. bundler 2.X 系で作成された Gemfile.lock ファイルが CircleCI 上で bundle install できないなどが発生する件に対応する. You must use Bundler 2 or greater with this lockfile. 1. ダウングレードするパターン 現在のバージョンをチェック

            "You must use Bundler 2 or greater with this lockfile" に対応する - Qiita
          • You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError) · Issue #7463 · jekyll/jekyll

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError) · Issue #7463 · jekyll/jekyll
            • You must use Bundler 2 or greater with this lockfile. 解決法 - Qiita

              はじめに 既存railsアプリをDockerに切り替える時に起きた問題になります。 正確には下のコマンドのようにビルドしようとした時に起きる問題です。 $ docker-compose build 発生したエラーメッセージ $ docker-compose build ・ ・ ・ Step 9/10 : RUN bundle install ---> Running in 11137a2dced0 You must use Bundler 2 or greater with this lockfile. ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 20 はまったこと You must use Bundler 2 or great

                You must use Bundler 2 or greater with this lockfile. 解決法 - Qiita
              • 【Rails + Docker】You must use Bundler 2 or greater with this lockfile. - Qiita

                $ docker system prune Are you sure you want to continue? [y/N] y $ docker volume ls DRIVER VOLUME NAME local docker_bundle $ docker volume rm docker_bundle

                  【Rails + Docker】You must use Bundler 2 or greater with this lockfile. - Qiita
                • yarn.lockのchecksumを使うときには、–frozen-lockfileを添えよう | WP-kyoto

                  Circle CIのCacheではまったので覚書。 やりたかったこと Yarnでインストールしたnode_modulesをcacheしてjobsで使いまわしたい。 起こった問題 save_cacheでのchecksumと […] やりたかったこと Yarnでインストールしたnode_modulesをcacheしてjobsで使いまわしたい。 jobs: prepare: docker: - image: circleci/node:lts-browsers working_directory: ~/repo steps: - checkout - restore_cache: name: Restore Yarn Package Cache keys: - yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }} - run: yarn -

                    yarn.lockのchecksumを使うときには、–frozen-lockfileを添えよう | WP-kyoto
                  • 【解決】You must use Bundler 2 or greater with this lockfile. - Qiita

                    You must use Bundler 2 or greater with this lockfile.が出た場合の対策。You must use Bundler 2 or greater with this lockfile.が出る原因はbundle installされているgemとそれを管理するbundlerのバージョンが違うことで起こっているみたい 解決策 以降でやりたいことは、 「bunderとインストールするgemのバージョンを合わせるということ」 Gemfile.lockを削除

                      【解決】You must use Bundler 2 or greater with this lockfile. - Qiita
                    • 【Rails】bundlerのdefaultを変更する方法。 Warning: the running version of Bundler (x.x.x) is older than the version that created the lockfileの対処法。

                      Docker上に構築したRailsで以下のようなエラーが出るときの対処法について。 Warning: the running version of Bundler (x.x.x) is older than the version that created the lockfile Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.2.22). We suggest you to upgrade to the version that created the lockfile by running gem install bundler:2.2.22. 現在使っているbundlerのバージョン2.1.4だが、lockfileで指定されて

                        【Rails】bundlerのdefaultを変更する方法。 Warning: the running version of Bundler (x.x.x) is older than the version that created the lockfileの対処法。
                      • You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError) というエラーが出た - Qiita

                        You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError) というエラーが出たRubyRailserrorBundler $ rails s Traceback (most recent call last): 5: from bin/rails:3:in `<main>' 4: from bin/rails:3:in `load' 3: from /Users/macbook/sample/bin/spring:10:in `<top (required)>' 2: from /Users/macbook/sample/bin/spring:10:in `new' 1: from /Users/macbook/.rbenv/versions/2.6.6/lib/ruby/2.6.0/bund

                          You must use Bundler 2 or greater with this lockfile. (Bundler::LockfileError) というエラーが出た - Qiita
                        • 【解決】error Your lockfile needs to be updated, but yarn was run with `–frozen-lockfile`.

                          ぬにょす(挨拶)。 ちょっと焦ったのでメモ。 原因 yarn add コマンドでパッケージを追加した後に、package.json のバージョン指定を書き換えてしまったのが原因でした。 解決方法 yarn install コマンドを実行して、yarn.lock ファイルを更新すれば大丈夫です。 そもそもなんで書き換えた? yarn add コマンドでパッケージを追加すると、package.json には "^1.2.3" のような記法でバージョンが指定されるんですが、パッチバージョンの許容を分かりやすくするために ">=1.2.3 <1.3.0" のような書き方に統一するようにしたんですよ…。 今回の件は、それの副作用といった所ですかね。 package.json を編集したら yarn install するのをお忘れなく。

                            【解決】error Your lockfile needs to be updated, but yarn was run with `–frozen-lockfile`.
                          • 【Rails エラー】You must use Bundler 2 or greater with this lockfile. | nabelog

                            事象rails newしようとしたら以下のエラーが出ました。 You must use Bundler 2 or greater with this lockfile.Gemfile.lockを確認してみると、最後に以下の記述があります。 BUNDLED WITH 2.1.4ターミナルでbundlerのバージョンを確認してみる。 % bundle -v Bundler version 2.1.4% gem list bundler *** LOCAL GEMS *** bundler (2.1.4)こちらも問題なさそうです。。。。 ダウングレード以下で違うバージョンをインストールしました。 gem install bundler:1.17.2バージョンを確認するとインストールされていることを確認しました。 % gem list bundler *** LOCAL GEMS *** bund

                              【Rails エラー】You must use Bundler 2 or greater with this lockfile. | nabelog
                            • docker-compose buildで You must use Bundler 2 or greater with this lockfile.エラーが出る - Qiita

                              docker-compose buildをしたときにエラーが発生したため備忘録として残しておきます。 ググってみてもよくある解決策で解決しなかった人のためになれば幸いです。 FROM ruby:2.5.1 RUN apt-get update -qq && \ apt-get install -y build-essential \ nodejs\ mariadb-server\ mariadb-client WORKDIR /portfolio COPY Gemfile /portfolio//Gemfile COPY Gemfile.lock /portfolio//Gemfile.lock RUN gem install bundler RUN bundle install RUN mkdir -p tmp/sockets

                                docker-compose buildで You must use Bundler 2 or greater with this lockfile.エラーが出る - Qiita
                              • docker-compose build で "You must use Bundler 2 or greater with this lockfile." とエラーが出てたので対応を考える - ものづくりのブログ

                                docker で環境構築中に以下のようなエラーが出たので対応方法をまとめておく。 You must use Bundler 2 or greater with this lockfile. ERROR: Service 'app' failed to build: The command '/bin/sh -c bundle install --jobs=4' returned a non-zero code: 20このロックファイルは、Bundler 2 以降を使用しなければいけないとのこと。 Gemfile.lock を見ると、最後の行に、「BUNDLED WITH 2.2.19」という記述がある。 $ tail -5 Gemfile.lock RUBY VERSION ruby 2.5.8p224 BUNDLED WITH 2.2.19以下のサイトを参考に「Dockerfile」を編

                                  docker-compose build で "You must use Bundler 2 or greater with this lockfile." とエラーが出てたので対応を考える - ものづくりのブログ
                                • docker-compose buildでYou must use Bundler 2 or greater with this lockfile.とエラーが出た話 - Qiita

                                  docker-compose buildでYou must use Bundler 2 or greater with this lockfile.とエラーが出た話RubyRailsDockerdockerfiledocker-compose 経緯 「既存の作成済のrailsアプリケーションにDockerを導入してみたい!!でも、いきなり導入していろいろ変なことになったら嫌だな」ということで、Railsチュートリアルの開発環境をDockerにしてみなイカ?という記事を参考にさせていただき、まずはrailsチュートリアルをdockerにのせようと、奮闘している最中、 You must use Bundler 2 or greater with this lockfile. ERROR: Service 'app' failed to build: The command '/bin/sh -

                                    docker-compose buildでYou must use Bundler 2 or greater with this lockfile.とエラーが出た話 - Qiita
                                  • Docker導入時のエラー(You must use Bundler 2 or greater with this lockfile.) - Qiita

                                    Docker導入時のエラー(You must use Bundler 2 or greater with this lockfile.)RubyRailsDockerRuby2.5.1 はじめに dockerを既存のアプリに導入された際に発生したエラーとその解決法を今回はまとめさせていただきます。 エラーの内容 docker file を作成docker-compose.ymlを作成した後にdocker-compose build コマンドをするとなぜか

                                      Docker導入時のエラー(You must use Bundler 2 or greater with this lockfile.) - Qiita
                                    • error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile` のエラー解決方法 - Qiita

                                      error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile` のエラー解決方法RubyRailsHerokuYARNlockfile remote: error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`. remote: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some

                                        error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile` のエラー解決方法 - Qiita
                                      • Dockerコンテナ実行時に、You must use Bundler 2 or greater with this lockfile. - Qiita

                                        Dockerコンテナ実行時に、You must use Bundler 2 or greater with this lockfile.RailsDocker dockerコンテナ上でdocker-compose exec app rails consoleコマンドでrailsのコンソールを立ち上げようとしたところ、You must use Bundler 2 or greater with this lockfile.と出てしまったときの対処法。 [メモ]

                                          Dockerコンテナ実行時に、You must use Bundler 2 or greater with this lockfile. - Qiita
                                        • bunのlockfileの内容を確認する - Today I Learned

                                          bunにおけるlockファイルの bun.lockbから、インストールしているパッケージバージョンを確認したい。 bun.lockはバイナリファイルなのでその内容を直接確認することはできない。 bun.sh bunのコマンドを指定しないで bun.lockbファイルを引数として指定すれば yarn.lockファイルフォーマットに変換してくれるらしい (ヘルプやドキュメントに記載はない)? zenn.dev $ bun bun.lockb # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 # bun ./bun.lockb --hash: 699522483260F2BC-08d58aa962873974-0EDF69C59219B907-7ba85588e54a501f "

                                            bunのlockfileの内容を確認する - Today I Learned
                                          1