Comments (13)
ESM is now supported but we found a bug when testing SvelteKit. There’s an open internal PR to resolve that so stay tuned!
from webcontainer-core.
@franxois we're still WIP on getting a few fixes in that will enable SvelteKit, the team will circle back here once these updates hit production.
from webcontainer-core.
@guidobouman npm init has an open issue in #2
@EricSimons we are using #6 to track esm module support
from webcontainer-core.
A bug for sure. Like you said, very likely related to #8 which has been on our roadmap for sure.
from webcontainer-core.
@jthegedus ah I didn't realize Vite was relying on ESM too- good catch. 🙏
@KwintenP maybe we create a root issue for enable node.js es modules support
that both this issue and #8 reference as prerequisites?
from webcontainer-core.
Probably redundant, but just in case: Initialising a project with npm init
does not seem to work. There's some sort of hook that does not expect the extra arguments, and tries to run turbo.
❯ npm init svelte@next test
Unknown Syntax Error: Extraneous positional argument ("svelte@next").
$ turbo create [-p,--private] [-w,--workspace] [--cwd,--prefix #0] [-s,--silent] [--quiet] [-V,--verbose] [--loglevel #0]
error Command failed with exit code 1
Once a SvelteKit example is setup, this is of course not needed anymore.
from webcontainer-core.
@milky2028 see #2 (comment) for more info. npm init
was fixed, now they're on a level lower: git
.
from webcontainer-core.
Hey ya'all 👋
We have pushed several fixes that now unlock SvelteKit on StackBlitz. Here's an example. However, npm init
still doesn't work because we are still working on our git internals and CLI.
from webcontainer-core.
SvelteKit also uses ESM for their package, no CJS, so that will need to be enabled as well. We might need to open a separate ticket for ESM support specifically
from webcontainer-core.
I thought ESM was a requirement for Vite and thus captured in #8
from webcontainer-core.
Yes, npm init
does not work and I had to manually setup each of the resources in the linked example. Ideally turbo
would support these commands.
from webcontainer-core.
I'm getting errors here as well, but instead getting:
Command failed: git ls-remote https://github.com/Axelen123/svelte-component-template
jsh: command not found: git
Great choice! Generating your Svelte app... !
› Error: Something went wrong, try again! Error: could not find commit hash for
› master
from webcontainer-core.
When I saw the tweet about vite.js, I try sveltekit from an existing repository but it doesn't work https://stackblitz.com/github/franxois/svelte-kit-demo-app
from webcontainer-core.
Related Issues (20)
- Build Freezes on Postcss loader HOT 1
- Nuxt devtools fails to load. HOT 6
- StackBlitz server crashed HOT 2
- crashStackBlitz server crashed HOT 1
- Creating a Git Repo from a Vite project does not work
- Creating new file with same name will overwrite existing file
- Label for outline mat-form-fields is overlapping matPrefix icon in a mat-sidenav HOT 2
- Wildcard subpath exports are not being typed
- Angular Project not working HOT 1
- [major, blocking] push declined due to user privacy reasons
- Media Serving Issue: Inconsistent Media Delivery with NodeJS and ExpressJS Web Server on StackBlitz
- Cannot run `biome`: `< must be followed by a word` HOT 1
- Stackblitz Repositories - Automatically add commit message & autosync option
- preloadmetadata: timing idealTree:userReques HOT 1
- Editor is just loading, never completes HOT 2
- Slow starting project. Dependencies installation taking forever. HOT 1
- My Project is not starting / serving after creating repository HOT 1
- Errors on stackblitz HOT 1
- Sensor demo code works locally but not on Stackblitz HOT 2
- Using fs.watch recursively HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcontainer-core.