kitsune-soc / kitsune

🦊 (fast) ActivityPub-federated microblogging
https://joinkitsune.org
Other
299 stars 19 forks source link

Cannot find module './locales/en-cyberpunk.ftl' #508

Closed haraldh closed 6 months ago

haraldh commented 6 months ago
❯ nix develop .#frontend --impure 

❯ cd kitsune-fe/

❯ yarn build
yarn run v1.22.22
$ vue-tsc && vite build
/bin/sh: line 1: vue-tsc: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

❯ npm install
npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.

added 729 packages, and audited 730 packages in 41s

131 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

❯ yarn build
yarn run v1.22.22
$ vue-tsc && vite build
src/i18n.ts:5:33 - error TS2307: Cannot find module './locales/en-cyberpunk.ftl' or its corresponding type declarations.

5 import enCyberpunkMessages from './locales/en-cyberpunk.ftl';
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/i18n.ts:6:24 - error TS2307: Cannot find module './locales/en.ftl' or its corresponding type declarations.

6 import enMessages from './locales/en.ftl';
                         ~~~~~~~~~~~~~~~~~~

Found 2 errors in the same file, starting at: src/i18n.ts:5

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.