Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
create-svelte version 2.0.0-next.101 Welcome to SvelteKit! This is beta software; expect bugs and missing features. Problems? Open an issue on https://github.com/sveltejs/kit/issues if none exists already. ✔ Which Svelte app template? › SvelteKit demo app ✔ Use TypeScript? … No / Yes ✔ Add ESLint for code linting? … No / Yes ✔ Add Prettier for code formatting? … No / Yes node:fs:1336 handleErrorFromBinding(ctx); ^ Error: EACCES: permission denied, mkdir 'testapp' at Object.mkdirSync (node:fs:1336:3) at mkdirp (file:///home/username/.npm/_npx/bbf9a9d70dc325b0/node_modules/create-svelte/utils.js:8:6) at create (file:///home/username/.npm/_npx/bbf9a9d70dc325b0/node_modules/create-svelte/index.js:12:2) at main (file:///home/username/.npm/_npx/bbf9a9d70dc325b0/node_modules/create-svelte/bin.js:107:8) at processTicksAndRejections (node:internal/process/task_queues:96:5) { errno: -13, syscall: 'mkdir', code: 'EACCES', path: 'testapp' } Node.js v17.4.0 npm ERR! code 1 npm ERR! path /home/username/dev npm ERR! command failed npm ERR! command sh -c create-svelte "testapp" npm ERR! A complete log of this run can be found in: npm ERR! /home/username/.npm/_logs/2022-01-27T03_54_01_400Z-debug-0.log
It is a known limitation. Here is one issue on WSL GitHub discussing this but there are more.