Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue #3

Open
strnadmichal opened this issue Feb 3, 2024 · 1 comment
Open

Installation issue #3

strnadmichal opened this issue Feb 3, 2024 · 1 comment

Comments

@strnadmichal
Copy link

Hi! I would love to try out your liblary but I'm having an issue with installation.

First when I tried installing your liblary I got this error

npm ERR! code 1
npm ERR! path C:\Users\...\node_modules\@deta\tela\node_modules\esbuild
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js
npm ERR! C:\Users\...\node_modules\@deta\tela\node_modules\esbuild\install.js:132
npm ERR!     throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`);
npm ERR!           ^
npm ERR!
npm ERR! Error: Expected "0.18.20" but got "0.19.12"
npm ERR!     at validateBinaryVersion (C:\Users\...\node_modules\@deta\tela\node_modules\esbuild\install.js:132:11)
npm ERR!     at C:\Users\...\node_modules\@deta\tela\node_modules\esbuild\install.js:283:5
npm ERR!
npm ERR! Node.js v20.11.0

But as I was able to resolve that by instaling older version of esbuild another obstacle come into way.

Missing C:\Users\...\node_modules\@deta\tela\svelte.config.js — skipping
> src\lib does not exist
    at do_build (file:///C:/Users/.../node_modules/@deta/tela/node_modules/@sveltejs/package/src/index.js:28:9)
    at Module.build (file:///C:/Users/.../node_modules/@deta/tela/node_modules/@sveltejs/package/src/index.js:16:8)
    at file:///C:/Users/.../node_modules/@deta/tela/node_modules/@sveltejs/package/src/cli.js:49:61

And I dot know how to move from here. Is it possible I'm using wrong version of Svelte altogether? I don't quite understand the concept of "manually build tela as installing it from github does only ship the source files."
I'm new in this stuff so I'm sorry it's something trivial. :) Thanks!

@zarSou9
Copy link

zarSou9 commented Feb 24, 2024

I am also getting the exact same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants