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 am seeing the following stack trace, when trying to apply this plugin to a second, project.
[!] (rename-rollup plugin) TypeError: baseVisitor[type] is not a function
TypeError: baseVisitor[type] is not a function
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.base.NewExpression.base.CallExpression (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:341:3)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.base.MemberExpression (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:347:3)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.base.NewExpression.base.CallExpression (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:341:3)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.base.MemberExpression (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:347:3)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.base.NewExpression.base.CallExpression (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:341:3)
at c (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:23:22)
at Object.skipThrough (/Users/jfiel2/dev/spinnaker/deck/app/scripts/modules/core/node_modules/acorn-walk/src/index.js:182:37)
error Command failed with exit code 1.
interestingly enough this plugin works just fine in the first project I applied it to.
Hey I'll take a look later today. I think the issue may be that the library I'm using to simplify walking over the AST (acorn ewalk) doesn't support the target your typescript is outputting.
I'll need to replace it to get it to work. ( You can try changing the target in tsconfig if that's doable for your codebase but I guess that would defeat the purpose of you're outputting modules.)
I am seeing the following stack trace, when trying to apply this plugin to a second, project.
interestingly enough this plugin works just fine in the first project I applied it to.
Here is the relevant section my my rollup config
I doubt this is enough information to be useful, but I will create the issue anyways and attach a remote debugger in the morning.
Cheers,
Justin
The text was updated successfully, but these errors were encountered: