You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying to run canopy words.peg --lang js on a file I made containing
grammar Words
root <- first:"foo" second:"bar" <Extension>
But everytime I run it I get this error
TypeError: invalid options argument
at optsArg (/usr/lib/node_modules/canopy/node_modules/mkdirp/lib/opts-arg.js:13:11)
at mkdirp (/usr/lib/node_modules/canopy/node_modules/mkdirp/index.js:11:10)
at write (/usr/lib/node_modules/canopy/bin/canopy:32:5)
at Object.<anonymous> (/usr/lib/node_modules/canopy/bin/canopy:37:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47
Hi, I was trying to run
canopy words.peg --lang js
on a file I made containingBut everytime I run it I get this error
My javascript file looks like this
It's the exact same as the example at the end of the page http://canopy.jcoglan.com/langs/javascript.html
What I tried:
The text was updated successfully, but these errors were encountered: