Skip to content

Commit

Permalink
fix: proper relative path to protobufjs in cli (#1753)
Browse files Browse the repository at this point in the history
According to https://docs.npmjs.com/cli/v8/configuring-npm/package-json#local-paths the local path should be `file:..` instead of `file://..`.

The later version copies whole top-level file-system in a macOS and with a recent version of npm (8.12.2) and results in a `MODULE_NOT_FOUND` error.

Co-authored-by: Alexander Fenster <fenster@google.com>
  • Loading branch information
maitbayev and alexander-fenster committed Jul 7, 2022
1 parent 64811d5 commit a1d6029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/package.json
Expand Up @@ -30,6 +30,6 @@
"uglify-js": "^3.7.7"
},
"devDependencies": {
"protobufjs": "file://.."
"protobufjs": "file:.."
}
}

0 comments on commit a1d6029

Please sign in to comment.