Skip to content

Commit 895c061

Browse files
committed
Install a specific version of mime in node example
Since version 2 isn't compatible with the example code Issue marijnh#228
1 parent 6676423 commit 895c061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

20_node.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ where the server script lives, you'll be able to use `require("mime")` to
746746
get access to the library:
747747

748748
----
749-
$ npm install mime
749+
$ npm install mime@1.4.0
750750
npm http GET https://registry.npmjs.org/mime
751751
npm http 304 https://registry.npmjs.org/mime
752752
[email protected] node_modules/mime

0 commit comments

Comments
 (0)