jamesseanwright / maze-generator

A real-time JavaScript maze generator using the depth-first search algorithm
https://jamesseanwright.github.io/maze-generator
17 stars 3 forks source link

TypeError: mime.lookup is not a function #1

Open xErik opened 5 years ago

xErik commented 5 years ago

npm run watch results in this error:

serving "dist" at http://127.0.0.1:8080
/mnt/c/Users/Erik/projects/maze-generator/node_modules/node-static/lib/node-static.js:348
                      mime.lookup(files[0]) ||
                           ^

TypeError: mime.lookup is not a function
    at Server.respond (/mnt/c/Users/Erik/projects/maze-generator/node_modules/node-static/lib/node-static.js:348:28)
    at /mnt/c/Users/Erik/projects/maze-generator/node_modules/node-static/lib/node-static.js:64:22
    at FSReqWrap.oncomplete (fs.js:154:5)
jamesseanwright commented 4 years ago

Really sorry I missed this! Which Node.js version are you running?