You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
I understand the project is in its infancy, but I think it's worth adressing installation strategy early on.
Currently, adding {:turboprop, "~> 0.4.2"} to mix.exs, running mix deps.get and adding import { Hooks } from "turboprop" to app.js yields errors related to @zag-js dependencies:
✘ [ERROR] Could not resolve "@zag-js/accordion"
../deps/turboprop/hooks/dist/index.mjs:6:27:
6 │ import * as accordion from "@zag-js/accordion";
╵ ~~~~~~~~~~~~~~~~~~~
You can mark the path "@zag-js/accordion" as external to exclude it from the bundle, which will remove this error.
This is because turboprop depends on @zag-js and there's no easy way to install those dependencies. cd deps/turboprop && npm install works, but that seems a bit silly. Do you think it is possible to design a user-friendly installation process for Hooks?
The text was updated successfully, but these errors were encountered:
domnantas
changed the title
Hooks dependencies are not installed
Hooks dependencies do not get installed when installing Turboprop from Hex
Jul 15, 2024
Hey, great project!
I understand the project is in its infancy, but I think it's worth adressing installation strategy early on.
Currently, adding
{:turboprop, "~> 0.4.2"}
tomix.exs
, runningmix deps.get
and addingimport { Hooks } from "turboprop"
toapp.js
yields errors related to@zag-js
dependencies:This is because
turboprop
depends on@zag-js
and there's no easy way to install those dependencies.cd deps/turboprop && npm install
works, but that seems a bit silly. Do you think it is possible to design a user-friendly installation process for Hooks?The text was updated successfully, but these errors were encountered: