bestguy / generate-maze

Maze generator using a JavaScript implementation of Eller's Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot generate maze

norisurgit opened this issue · comments

Here is the code I pasted and ran:
const generator = require('generate-maze');
const maze = generator(4);

I'm using:

  • Node v15.14.0
  • Windows 10 64bit

image

Hi thanks, looks like the compilation or config is not right outside the browser, will take a look

Hi @norisurgit , this should be fixed in generate-maze@1.1.0, thanks for the heads up 👍.

This supports require, or import if your node app is a module. Please comment or reopen if still seeing issues.