Skip to content

Commit d39fd27

Browse files
committed
Add a note about cli parameters on Windows #529
1 parent 61a17be commit d39fd27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ npm run build -- --catalogUrl="https://earth-search.aws.element84.com/v1/"
7878
This will only work on the root path of your domain though. If you'd like to publish in a sub-folder,
7979
you can use the [`pathPrefix`](docs/options.md#pathprefix) option.
8080

81+
> [!NOTE]
82+
> If you are using a recent version of node/npm on Windows, you may need to use `npm run build -- -- ...` instead of `npm run build -- ...`, see <https://github.com/npm/cli/issues/7375> for details.
83+
8184
After building, `dist/` will contain all assets necessary
8285
host the browser. These can be manually copied to your web host of choice.
8386
**Important:** If `historyMode` is set to `history` (which is the default value), you'll need to add

0 commit comments

Comments
 (0)