Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Document the dev environment setup #44

Closed
Windvis opened this issue Sep 3, 2019 · 1 comment
Closed

Document the dev environment setup #44

Windvis opened this issue Sep 3, 2019 · 1 comment

Comments

@Windvis
Copy link

Windvis commented Sep 3, 2019

I wanted to give #43 a go, but I can't figure out how to setup the dev environment.

I cloned both this and the svelte repo. Installed dependencies in the site folder, ran the needed commands there, and npm linked the repl repo into the site repo. After that I get compile errors when building the website though, so I'm probably missing something.

✗ client
../../svelte-repl/src/SplitPane.svelte (21:1)
'transition_in' is not exported by ../../svelte-repl/node_modules/svelte/internal.mjs
19:     const { top, bottom, left, right } = refs.container.getBoundingClientRect();
20: 
21:     const extents = type === 'vertical' ? [top, bottom] : [left, right];
      ^
22: 
23:     const px = yootils.clamp(
✗ server
../../svelte-repl/src/SplitPane.svelte (3:1)
'add_attribute' is not exported by ../../svelte-repl/node_modules/svelte/internal.mjs
1: <script>
2:   import * as yootils from 'yootils';
3:   import { createEventDispatcher } from 'svelte';
     ^
4: 
5:   const dispatch = createEventDispatcher();

Any pointers?

@Wolfr
Copy link

Wolfr commented Sep 12, 2019

This would be helpful as I also wanted to fix an issue with the REPL and this kind of discourages me to go and figure it out.

Hint: just running npm run dev is not enough.

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

No branches or pull requests

2 participants