Skip to content

Conversation

@jawa-the-hutt
Copy link
Collaborator

Fix #9 - add Helloworld import
Fix #11 - fix extractCallDir for npm 6.9.0

Fix #11 - fix extractCallDir for npm 6.9.0
Error.captureStackTrace(obj);
return path.dirname(obj.stack.split('\n')[3].match(/\s\((.*):\d+:\d+\)$/)[1]);
const callSite = obj.stack.split('\n')[3];
let { fileName } = /(?<fileName>[^(\s]+):[0-9]+:[0-9]+/.exec(callSite).groups;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SyntaxError: Invalid regular expression: /(?[^(\s]+):[0-9]+:[0-9]+/: Invalid group

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Error when installing plugin to project using vue-cli 3 Using template Nativescript-Vue-Web error in iOS

3 participants