Getting `npm install tidal.pegjs` to work
jarmitage opened this issue · 0 comments
jarmitage commented
Current issues seem to be:
- When you
npm install tidal.pegjs
, there is no./dist/tidal.js
becausepegjs tidal.pegjs
has not been run. - If you manually ensure
tidal.js
exists and doimport {Pattern} from 'tidal.pegjs'
you get'Pattern' is not exported by node_modules/tidal.pegjs/src/pattern.js
. - If you do
import * as Tidal from "tidal.pegjs"
you getUncaught ReferenceError: util is not defined
.