Skip to content

Commit 2d98bb4

Browse files
committed
Developer guide: avoid upgrading package-lock.json
1 parent e8ae8e1 commit 2d98bb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/02-developer-guide.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ After checking out this project from GitHub,
7373
+
7474
----
7575
sudo npm install karma-cli -g
76-
npm install
76+
npm install --no-save
7777
----
78+
+
79+
The `--no-save` tells newer versions of `npm` to not automatically upgrade `package-lock.json` to the v2 format.
7880
2. If you are on macOS or linux, https://github.com/planck-repl/planck#installing[install planck].
7981

8082
3. Initialize cache for clj-kondo so it can lint against your dependencies

0 commit comments

Comments
 (0)