clomie / gas-vue-typescript

Template for Google Apps Script macros and its front-end webapp setup with TypeScript, Vue.js, Vuetify.
48 stars 10 forks source link

Error when building fresh install: types conflict #30

Open grreeenn opened 3 years ago

grreeenn commented 3 years ago

Hi @clomie, thanks for a great project!

I'm trying to build a fresh install of it, however, I get the following error: Subsequent variable declarations must have the same type. Variable 'console' must be of type 'Console', but here has type 'console'.

If I understand correctly, it's related to this issue, but I couldn't find a correct way to solve it (commenting out the row that causes this error indeed solves the problem, but it doesn't feel like a right way to do it). Do you have any clues to this?

Thanks :)

clomie commented 3 years ago

Thanks for reporting issue, @grreeenn . The problem is caused by the dependencies of front-end package has @types/google-apps-script(front-end project cannot have dependency of it). But the problem should have already been resolved. I cloned the HEAD of the master branch and build then I got no errors. How did you get the issue? Could you please let me know details of step you did.

grreeenn commented 3 years ago

my sequence was git clone https://github.com/clomie/gas-vue-typescript.git yarn yarn build

Nothing in between... Did I clone the wrong thing?