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
I'm trying to compile LIPS Scheme CLI, pre compiled to commonJS with tsup (the project is not TypeScript, but esbuilt was throwing an error about one require).
Got this error:
TypeError: Cannot read properties of undefined (reading 'startsWith')
at removeBrackets (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:172:13)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:743:78)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:681:15)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:681:15)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:681:15)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:681:15)
at cify (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:681:15)
at default (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/2c.js:897:3)
at default (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/index.js:258:15)
at default (file:///home/kuba/.config/nvm/versions/node/v20.6.1/lib/node_modules/porffor/compiler/wrap.js:360:102)
I'm trying to compile LIPS Scheme CLI, pre compiled to commonJS with tsup (the project is not TypeScript, but
esbuilt
was throwing an error about onerequire
).Got this error:
To reproduce:
git clone https://github.com/jcubic/lips cd lips npm install npm install tsup typescript npx tsup bin/lips.js --format cjs porf native -d dist/lips.cjs lips
This is the source from above stack trace:
vals.pop()
is undefined.The text was updated successfully, but these errors were encountered: