vue: Unexpected token, expected ","
towry opened this issue · comments
Towry Wang commented
vue: Unexpected token, expected ","
> 1 | [object Promise]
my-project:dev: | ^
my-project:dev: 2 | export { render, staticRenderFns }
In a monorepo with pnpm, The cause is strange, the solution is simple, remove prettier
from the root package.json of this monorepo. Maybe it's not because the prettier: latest
package.