Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.

Fix esmorph.js:134 TypeError: code.slice(...).replace is not a function#9

Open
alfredwesterveld wants to merge 2 commits intoariya:masterfrom
alfredwesterveld:master
Open

Fix esmorph.js:134 TypeError: code.slice(...).replace is not a function#9
alfredwesterveld wants to merge 2 commits intoariya:masterfrom
alfredwesterveld:master

Conversation

@alfredwesterveld
Copy link

Tried to morph a file and got this error:

name = code.slice(parent.left.range[0], parent.left.range[1]).replace(/"/g, '\\"');
TypeError: code.slice(...).replace is not a function
    at /home/kaartje2go/webapplications/trace/node_modules/esmorph/lib/esmorph.js:134:87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant