Closed
Description
Describe the bug
If template's node_modules
is present, these are copied to webcontainer. This can easily lead into copying 10s of megabytes of content. Also platform specific modules will not work as they are not using wasm builds of native modules.
- jsh: permission denied: vite #187
- Clarify "allowCommands" setup #190
- Starting dev server for an Angular app fails #196
Steps to reproduce
npm create tutorial
cd src/templates/default; npm install
- Start dev server
- Preview fails to load
Expected behavior
node_modules
should be excluded by default.
Screenshots


Platform
- TutorialKit version: 0.1.1