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 #23

Closed thesocialdev closed 3 years ago

thesocialdev commented 4 years ago

Executing make build fails with the following error:

ERROR in /Users/mateus-wmf/workspace/thesocialdev/mymoney/frontend/node_modules/@types/node/ts3.1/globals.d.ts(573,15):
573:15 Interface 'NodeJS.Module' incorrectly extends interface '__WebpackModuleApi.Module'.
  Types of property 'parent' are incompatible.
    Type 'Module | null | undefined' is not assignable to type 'NodeModule | null'.
      Type 'undefined' is not assignable to type 'NodeModule | null'.
    571 |         '.node': (m: Module, filename: string) => any;
    572 |     }
  > 573 |     interface Module {
        |               ^
    574 |         exports: any;
    575 |         require: Require;
    576 |         id: string;
clomie commented 4 years ago

Thanks for reporting. I'll check it.

clomie commented 3 years ago

This was an issue with the compatibility that is between @types/node and @types/webpack-env documented here. Now it's already fixed, so I'll close it.