3ventic / discord-rss

Lightweight, easy-to-use RSS feed => Discord service
MIT License
17 stars 4 forks source link

Build error #10

Closed argonan0 closed 1 year ago

argonan0 commented 1 year ago
$ npm run build

> discorss@0.11.0 build
> vite build

▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]

    tsconfig.json:2:12:
      2 │   "extends": "./.svelte-kit/tsconfig.json",
        ╵              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

failed to load config from /path/to/discord-rss/vite.config.js
error during build:
SyntaxError: Unexpected token '.'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
$ ls
docker-build.sh  Dockerfile  LICENSE  node_modules  package.json  package-lock.json  README.md  src  static  svelte.config.js  tsconfig.json  vite.config.js
3ventic commented 1 year ago

cannot repro, did you run npm run sync?

argonan0 commented 1 year ago

Yes: https://github.com/3ventic/discord-rss/issues/9

argonan0 commented 1 year ago

Use exactly these versions:

npm --version
9.7.1
node --version
v18.16.0