Skip to content

Commit 516a32b

Browse files
authored
Mention required npx version in readme
`set-script` was not part of `npx` until version 7.1.0 (https://github.com/npm/cli/releases/tag/v7.1.0) which was "only" released December 2020. I cannot speak for JavaScript developers, but I have a feeling Rails developers don't update their nodes or npxes often. I know for a fact stock node 14 (active LTS) comes stock with only version 6 of `npx`. This adds a note to the readme about the required minimal version. cssbundling-rails will probably need this as well.
1 parent 9391c5e commit 516a32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can configure your bundler options in the `build` script in `package.json` o
1515

1616
## Installation
1717

18-
You must already have node and yarn installed on your system. Then:
18+
You must already have node and yarn installed on your system. You will also need npx version 7.1.0 or later. Then:
1919

2020
1. Add `jsbundling-rails` to your Gemfile with `gem 'jsbundling-rails'`
2121
2. Run `./bin/bundle install`

0 commit comments

Comments
 (0)