Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running make.js #4

Open
michaelpalumbo opened this issue May 14, 2020 · 0 comments
Open

error running make.js #4

michaelpalumbo opened this issue May 14, 2020 · 0 comments

Comments

@michaelpalumbo
Copy link
Contributor

@grrrwaaa When running make.js I get the following error. Am I using it incorrectly?

~$ node make.js
~/worldmaking.github.io/make.js:26
var markup = peg.buildParser(fs.readFileSync("markup.pegjs", "utf8"));
                 ^

TypeError: undefined is not a function
    at Object.<anonymous> (~/worldmaking.github.io/make.js:26:18)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant