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

Unable to install snel with install.ts #57

Open
jmherbst opened this issue May 19, 2022 · 7 comments
Open

Unable to install snel with install.ts #57

jmherbst opened this issue May 19, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@jmherbst
Copy link

Running on my m1 mac:

» deno --version
deno 1.22.0 (release, aarch64-apple-darwin)
v8 10.0.139.17
typescript 4.6.2

Install failure log

» deno run --allow-run --allow-read -r https://deno.land/x/snel/install.ts
Download https://deno.land/x/snel/install.ts
Warning Implicitly using latest version (v0.7.1) for https://deno.land/x/snel/install.ts
Download https://deno.land/x/snel@v0.7.1/install.ts
Download https://cdn.skypack.dev/svelte@3.46.4/animate
Download https://cdn.skypack.dev/svelte@3.46.4/easing
Download https://cdn.skypack.dev/svelte@3.46.4/internal
Download https://cdn.skypack.dev/svelte@3.46.4/motion
Download https://cdn.skypack.dev/svelte@3.46.4/store
Download https://cdn.skypack.dev/svelte@3.46.4/transition
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/transition.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/motion.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/animate.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/easing.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/internal.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/svelte/store.js
Download https://cdn.skypack.dev/-/svelte@v3.46.4-xym63myK8b1EihujDDAL/dist=es2019,mode=imports/optimized/common/global-5c50bad9.js
Check https://deno.land/x/snel/install.ts
Warning Implicitly using latest version (v0.7.1) for https://deno.land/x/snel/cli.ts
error: Module not found "https://denopkg.com/buttercubz/deno-rollup@next/plugins/terser/mod.ts".
    at https://deno.land/x/snel@v0.7.1/src/shared/internal_plugins.ts:13:24
Warning Implicitly using latest version (v1.11.0) for https://deno.land/x/trex/import_map.json
Warning Implicitly using latest version (v1.11.0) for https://deno.land/x/trex/cli.ts
Warning Implicitly using latest version (v1.11.0) for https://deno.land/x/trex/utils/types.ts
Warning Implicitly using latest version (0.140.0) for https://deno.land/std/fmt/colors.ts
 Successfully installed trex
/Users/j/.deno/bin/trex
installation complete.

Snel + Trex attempt:

» export PATH="/Users/j/.deno/bin:$PATH"

» snel
zsh: command not found: snel

» trex exec snel create name
error: Module not found "https://denopkg.com/buttercubz/deno-rollup@next/plugins/terser/mod.ts".
    at https://deno.land/x/snel@v0.7.1/src/shared/internal_plugins.ts:13:24
error: Uncaught (in promise) something went wrong while running snel

Any suggestions?

@buttercubz
Copy link
Member

Hi @jmherbst currently snel is broken as deno-rollup is also broken due to a change made in deno's namespace but I'm already working on a hot fix

@buttercubz buttercubz self-assigned this May 19, 2022
@buttercubz buttercubz added the bug Something isn't working label May 19, 2022
@ThamizharasaN2116
Copy link

Hi @buttercubz ,
Is there any workaround or we have to wait till we get the fix?
Thanks.

@delight
Copy link

delight commented Jun 30, 2022

I'd really love to try this but as it seems right now there is no way to get this started.

Got a question though: are there any plans to make snel work with fresh ? Would be awesome and something to look forward to.

@nberlette
Copy link

@buttercubz any update on the status of this? I'm sure I'm only one of many users who are really bummed about snel being dead in the water all this time :(

@buttercubz
Copy link
Member

Hello, this is an update, I have been a bit busy with my work, but I want to inform you that an update will be coming which will solve all the current errors of snel, also now it will use vite as main engine, features like typescript, less, scss and import maps out the box will be progressively available again.

@jmherbst @ThamizharasaN2116 @delight @nberlette

@buttercubz
Copy link
Member

#61 pull request

@buttercubz buttercubz pinned this issue Oct 31, 2022
@buttercubz
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants