question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support JSDoc (type-checked JavaScript) option

See original GitHub issue

Hi, these are the steps taken:

npm init @svelte-add/kit@latest
Need to install the following packages:
  @svelte-add/create-kit@latest
Ok to proceed? (y)
➕ Svelte Add's SvelteKit app initializer (Version 2022.04.06.01)
✔ What directory should your app be created in? … farhang4
✔ What scripting language will you write your app in? › TypeScript
✔ What language will you write your app styles in? › PostCSS (used by Tailwind CSS)
✔ Do you want to use Autoprefixer?
https://github.com/postcss/autoprefixer
 › Yes
✔ What framework will you use for your app's styles? › Tailwind CSS
✔ Do you want to use the Tailwind CSS Forms plugin?
https://github.com/tailwindlabs/tailwindcss-forms
 › No
✔ Do you want to use the Tailwind CSS Typography plugin?
https://github.com/tailwindlabs/tailwindcss-typography
 › No
✔ What other features do you want for your app? ›
✔ What code quality tools do you want to help maintain your app? › ESLint, Prettier
✔ Where will you deploy your app? › Nowhere (set up a deployment target later)
✔ Do you want example code added to your app to demonstrate how to use the tools you've selected? › No. Keep it completely minimal.
✔ Should your app's dependencies be installed with npm right now? › Yes
node:fs:590
  handleErrorFromBinding(ctx);
  ^

Error: ENOENT: no such file or directory, open '/Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/create-svelte/dist/templates/skeleton/files.types=undefined.json'
    at Object.openSync (node:fs:590:3)
    at Object.readFileSync (node:fs:458:35)
    at write_template_files (file:///Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/create-svelte/index.js:31:17)
    at create (file:///Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/create-svelte/index.js:14:2)
    at fresh (file:///Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/@svelte-add/create-kit/__init.js:7:8)
    at setup (file:///Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/@svelte-add/app-initializer-tools/index.js:81:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async main (file:///Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/@svelte-add/create-kit/cli.js:6:2) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/hmt/.npm/_npx/9320fb454a84dc6d/node_modules/create-svelte/dist/templates/skeleton/files.types=undefined.json'
}

Node.js v18.0.0
npm ERR! code 1
npm ERR! path /Users/hmt/entwicklung
npm ERR! command failed
npm ERR! command sh -c create-kit

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/hmt/.npm/_logs/2022-05-02T09_07_16_440Z-debug-0.log

The log file says this here:

0 verbose cli /usr/local/Cellar/node/18.0.0/bin/node /usr/local/bin/npm
1 info using npm@8.6.0
2 info using node@v18.0.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/hmt/entwicklung/.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/Users/hmt/.npmrc Completed in 3ms
12 timing config:load:user Completed in 3ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 14ms
19 timing npm:load:configload Completed in 15ms
20 timing npm:load:mkdirpcache Completed in 0ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm init @svelte-add/kit@latest
23 verbose argv "init" "@svelte-add/kit@latest"
24 timing npm:load:setTitle Completed in 3ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 4ms
27 verbose logfile logs-max:10 dir:/Users/hmt/.npm/_logs
28 verbose logfile /Users/hmt/.npm/_logs/2022-05-02T09_07_16_440Z-debug-0.log
29 timing npm:load:logFile Completed in 7ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 30ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 http fetch GET 200 https://registry.npmjs.org/@svelte-add%2fcreate-kit 2122ms (cache miss)
36 timing arborist:ctor Completed in 0ms
37 timing arborist:ctor Completed in 0ms
38 timing arborist:ctor Completed in 0ms
39 timing idealTree:init Completed in 3ms
40 http fetch GET 200 https://registry.npmjs.org/@svelte-add%2fcreate-kit 6ms (cache hit)
41 timing idealTree:userRequests Completed in 10ms
42 silly idealTree buildDeps
43 silly fetch manifest @svelte-add/create-kit@2022.4.0-6.1
44 silly placeDep ROOT @svelte-add/create-kit@2022.4.0-6.1 OK for:  want: 2022.4.0-6.1
45 silly fetch manifest @svelte-add/app-initializer-tools@2022.4.0-6.1
46 silly fetch manifest create-svelte@next
47 silly fetch manifest svelte-add@2022.4.0-6.1
48 http fetch GET 200 https://registry.npmjs.org/create-svelte 542ms (cache updated)
49 http fetch GET 200 https://registry.npmjs.org/svelte-add 1239ms (cache updated)
50 http fetch GET 200 https://registry.npmjs.org/@svelte-add%2fapp-initializer-tools 2236ms (cache miss)
51 timing idealTree:#root Completed in 2244ms
52 silly placeDep ROOT @svelte-add/app-initializer-tools@2022.4.0-6.1 OK for: @svelte-add/create-kit@2022.4.0-6.1 want: 2022.4.0-6.1
53 silly placeDep ROOT create-svelte@2.0.0-next.132 OK for: @svelte-add/create-kit@2022.4.0-6.1 want: next
54 silly placeDep ROOT svelte-add@2022.4.0-6.1 OK for: @svelte-add/create-kit@2022.4.0-6.1 want: 2022.4.0-6.1
55 silly fetch manifest kleur@^4.1.4
56 silly fetch manifest mri@^1.2.0
57 silly fetch manifest prompts@^2.4.2
58 silly fetch manifest @typescript-eslint/typescript-estree@^5.18.0
59 silly fetch manifest dom-serializer@^1.3.2
60 silly fetch manifest domhandler@^4.3.1
61 silly fetch manifest domutils@^2.8.0
62 silly fetch manifest estree-walker@^3.0.1
63 silly fetch manifest htmlparser2@^7.2.0
64 silly fetch manifest postcss@^8.4.12
65 silly fetch manifest prettier@^2.6.2
66 silly fetch manifest prettier-plugin-svelte@^2.6.0
67 silly fetch manifest recast@^0.20.5
68 silly fetch manifest svelte@^3.46.6
69 silly fetch manifest typescript@^4.6.3
70 http fetch GET 200 https://registry.npmjs.org/kleur 89ms (cache revalidated)
71 http fetch GET 200 https://registry.npmjs.org/mri 90ms (cache revalidated)
72 http fetch GET 200 https://registry.npmjs.org/postcss 171ms (cache revalidated)
73 http fetch GET 200 https://registry.npmjs.org/domutils 186ms (cache updated)
74 http fetch GET 200 https://registry.npmjs.org/prettier-plugin-svelte 200ms (cache revalidated)
75 http fetch GET 200 https://registry.npmjs.org/domhandler 214ms (cache updated)
76 http fetch GET 200 https://registry.npmjs.org/recast 214ms (cache updated)
77 http fetch GET 200 https://registry.npmjs.org/svelte 221ms (cache revalidated)
78 http fetch GET 200 https://registry.npmjs.org/estree-walker 239ms (cache updated)
79 http fetch GET 200 https://registry.npmjs.org/htmlparser2 241ms (cache updated)
80 http fetch GET 200 https://registry.npmjs.org/prompts 248ms (cache revalidated)
81 http fetch GET 200 https://registry.npmjs.org/prettier 245ms (cache revalidated)
82 http fetch GET 200 https://registry.npmjs.org/dom-serializer 251ms (cache updated)
83 http fetch GET 200 https://registry.npmjs.org/typescript 1021ms (cache updated)
84 http fetch GET 200 https://registry.npmjs.org/@typescript-eslint%2ftypescript-estree 1065ms (cache updated)
85 timing idealTree:node_modules/@svelte-add/create-kit Completed in 1091ms
86 silly placeDep ROOT kleur@4.1.4 OK for: @svelte-add/app-initializer-tools@2022.4.0-6.1 want: ^4.1.4
87 silly placeDep ROOT mri@1.2.0 OK for: @svelte-add/app-initializer-tools@2022.4.0-6.1 want: ^1.2.0
88 timing idealTree:node_modules/@svelte-add/app-initializer-tools Completed in 4ms
89 silly placeDep ROOT prompts@2.4.2 OK for: create-svelte@2.0.0-next.132 want: ^2.4.2
90 silly fetch manifest kleur@^3.0.3
91 silly fetch manifest sisteransi@^1.0.5
92 http fetch GET 200 https://registry.npmjs.org/sisteransi 57ms (cache revalidated)
93 timing idealTree:node_modules/create-svelte Completed in 59ms
94 timing idealTree:node_modules/kleur Completed in 0ms
95 timing idealTree:node_modules/mri Completed in 0ms
96 silly placeDep node_modules/prompts kleur@3.0.3 OK for: prompts@2.4.2 want: ^3.0.3
97 silly placeDep ROOT sisteransi@1.0.5 OK for: prompts@2.4.2 want: ^1.0.5
98 timing idealTree:node_modules/prompts Completed in 3ms
99 timing idealTree:node_modules/sisteransi Completed in 0ms
100 silly placeDep ROOT @typescript-eslint/typescript-estree@5.21.0 OK for: svelte-add@2022.4.0-6.1 want: ^5.18.0
101 silly placeDep ROOT dom-serializer@1.4.1 OK for: svelte-add@2022.4.0-6.1 want: ^1.3.2
102 silly placeDep ROOT domhandler@4.3.1 OK for: svelte-add@2022.4.0-6.1 want: ^4.3.1
103 silly placeDep ROOT domutils@2.8.0 OK for: svelte-add@2022.4.0-6.1 want: ^2.8.0
104 silly placeDep ROOT estree-walker@3.0.1 OK for: svelte-add@2022.4.0-6.1 want: ^3.0.1
105 silly placeDep ROOT htmlparser2@7.2.0 OK for: svelte-add@2022.4.0-6.1 want: ^7.2.0
106 silly placeDep ROOT postcss@8.4.13 OK for: svelte-add@2022.4.0-6.1 want: ^8.4.12
107 silly placeDep ROOT prettier@2.6.2 OK for: svelte-add@2022.4.0-6.1 want: ^2.6.2
108 silly placeDep ROOT prettier-plugin-svelte@2.7.0 OK for: svelte-add@2022.4.0-6.1 want: ^2.6.0
109 silly placeDep ROOT svelte@3.48.0 OK for: prettier-plugin-svelte@2.7.0 want: ^3.2.0
110 silly placeDep ROOT recast@0.20.5 OK for: svelte-add@2022.4.0-6.1 want: ^0.20.5
111 silly placeDep ROOT typescript@4.6.4 OK for: svelte-add@2022.4.0-6.1 want: ^4.6.3
112 silly fetch manifest @typescript-eslint/types@5.21.0
113 silly fetch manifest @typescript-eslint/visitor-keys@5.21.0
114 silly fetch manifest debug@^4.3.2
115 silly fetch manifest globby@^11.0.4
116 silly fetch manifest is-glob@^4.0.3
117 silly fetch manifest semver@^7.3.5
118 silly fetch manifest tsutils@^3.21.0
119 silly fetch manifest domelementtype@^2.0.1
120 silly fetch manifest entities@^2.0.0
121 silly fetch manifest domelementtype@^2.2.0
122 silly fetch manifest entities@^3.0.1
123 silly fetch manifest nanoid@^3.3.3
124 silly fetch manifest picocolors@^1.0.0
125 silly fetch manifest source-map-js@^1.0.2
126 silly fetch manifest ast-types@0.14.2
127 silly fetch manifest esprima@~4.0.0
128 silly fetch manifest source-map@~0.6.1
129 silly fetch manifest tslib@^2.0.1
130 http fetch GET 200 https://registry.npmjs.org/picocolors 88ms (cache revalidated)
131 http fetch GET 200 https://registry.npmjs.org/source-map-js 89ms (cache revalidated)
132 http fetch GET 200 https://registry.npmjs.org/tsutils 93ms (cache revalidated)
133 http fetch GET 200 https://registry.npmjs.org/debug 108ms (cache revalidated)
134 http fetch GET 200 https://registry.npmjs.org/is-glob 112ms (cache revalidated)
135 http fetch GET 200 https://registry.npmjs.org/ast-types 103ms (cache revalidated)
136 http fetch GET 200 https://registry.npmjs.org/semver 114ms (cache revalidated)
137 http fetch GET 200 https://registry.npmjs.org/nanoid 109ms (cache revalidated)
138 http fetch GET 200 https://registry.npmjs.org/domelementtype 112ms (cache updated)
139 http fetch GET 200 https://registry.npmjs.org/globby 122ms (cache revalidated)
140 http fetch GET 200 https://registry.npmjs.org/source-map 113ms (cache revalidated)
141 http fetch GET 200 https://registry.npmjs.org/entities 121ms (cache updated)
142 http fetch GET 200 https://registry.npmjs.org/esprima 124ms (cache updated)
143 http fetch GET 200 https://registry.npmjs.org/tslib 126ms (cache revalidated)
144 http fetch GET 200 https://registry.npmjs.org/@typescript-eslint%2fvisitor-keys 473ms (cache updated)
145 http fetch GET 200 https://registry.npmjs.org/@typescript-eslint%2ftypes 518ms (cache updated)
146 timing idealTree:node_modules/svelte-add Completed in 547ms
147 silly fetch manifest typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta
148 silly placeDep ROOT @typescript-eslint/types@5.21.0 OK for: @typescript-eslint/typescript-estree@5.21.0 want: 5.21.0
149 silly placeDep ROOT @typescript-eslint/visitor-keys@5.21.0 OK for: @typescript-eslint/typescript-estree@5.21.0 want: 5.21.0
150 silly placeDep ROOT debug@4.3.4 OK for: @typescript-eslint/typescript-estree@5.21.0 want: ^4.3.2
151 silly placeDep ROOT globby@11.1.0 OK for: @typescript-eslint/typescript-estree@5.21.0 want: ^11.0.4
152 silly placeDep ROOT is-glob@4.0.3 OK for: @typescript-eslint/typescript-estree@5.21.0 want: ^4.0.3
153 silly placeDep ROOT semver@7.3.7 OK for: @typescript-eslint/typescript-estree@5.21.0 want: ^7.3.5
154 silly placeDep ROOT tsutils@3.21.0 OK for: @typescript-eslint/typescript-estree@5.21.0 want: ^3.21.0
155 silly fetch manifest eslint-visitor-keys@^3.0.0
156 silly fetch manifest ms@2.1.2
157 silly fetch manifest array-union@^2.1.0
158 silly fetch manifest dir-glob@^3.0.1
159 silly fetch manifest fast-glob@^3.2.9
160 silly fetch manifest ignore@^5.2.0
161 silly fetch manifest merge2@^1.4.1
162 silly fetch manifest slash@^3.0.0
163 silly fetch manifest is-extglob@^2.1.1
164 silly fetch manifest lru-cache@^6.0.0
165 silly fetch manifest tslib@^1.8.1
166 http fetch GET 200 https://registry.npmjs.org/dir-glob 77ms (cache revalidated)
167 http fetch GET 200 https://registry.npmjs.org/ms 85ms (cache revalidated)
168 http fetch GET 200 https://registry.npmjs.org/ignore 82ms (cache revalidated)
169 http fetch GET 200 https://registry.npmjs.org/slash 82ms (cache revalidated)
170 http fetch GET 200 https://registry.npmjs.org/is-extglob 82ms (cache revalidated)
171 http fetch GET 200 https://registry.npmjs.org/merge2 85ms (cache revalidated)
172 http fetch GET 200 https://registry.npmjs.org/fast-glob 87ms (cache updated)
173 http fetch GET 200 https://registry.npmjs.org/eslint-visitor-keys 90ms (cache updated)
174 http fetch GET 200 https://registry.npmjs.org/lru-cache 90ms (cache revalidated)
175 http fetch GET 200 https://registry.npmjs.org/array-union 95ms (cache revalidated)
176 timing idealTree:node_modules/@typescript-eslint/typescript-estree Completed in 106ms
177 timing idealTree:node_modules/@typescript-eslint/types Completed in 0ms
178 silly placeDep ROOT eslint-visitor-keys@3.3.0 OK for: @typescript-eslint/visitor-keys@5.21.0 want: ^3.0.0
179 timing idealTree:node_modules/@typescript-eslint/visitor-keys Completed in 1ms
180 silly placeDep ROOT ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
181 timing idealTree:node_modules/debug Completed in 0ms
182 silly placeDep ROOT domelementtype@2.3.0 OK for: dom-serializer@1.4.1 want: ^2.0.1
183 silly placeDep ROOT entities@2.2.0 OK for: dom-serializer@1.4.1 want: ^2.0.0
184 timing idealTree:node_modules/dom-serializer Completed in 3ms
185 timing idealTree:node_modules/domelementtype Completed in 0ms
186 timing idealTree:node_modules/domhandler Completed in 0ms
187 timing idealTree:node_modules/domutils Completed in 0ms
188 timing idealTree:node_modules/entities Completed in 0ms
189 timing idealTree:node_modules/eslint-visitor-keys Completed in 0ms
190 timing idealTree:node_modules/estree-walker Completed in 0ms
191 silly placeDep ROOT array-union@2.1.0 OK for: globby@11.1.0 want: ^2.1.0
192 silly placeDep ROOT dir-glob@3.0.1 OK for: globby@11.1.0 want: ^3.0.1
193 silly placeDep ROOT fast-glob@3.2.11 OK for: globby@11.1.0 want: ^3.2.9
194 silly placeDep ROOT ignore@5.2.0 OK for: globby@11.1.0 want: ^5.2.0
195 silly placeDep ROOT merge2@1.4.1 OK for: globby@11.1.0 want: ^1.4.1
196 silly placeDep ROOT slash@3.0.0 OK for: globby@11.1.0 want: ^3.0.0
197 silly fetch manifest path-type@^4.0.0
198 silly fetch manifest @nodelib/fs.stat@^2.0.2
199 silly fetch manifest @nodelib/fs.walk@^1.2.3
200 silly fetch manifest glob-parent@^5.1.2
201 silly fetch manifest micromatch@^4.0.4
202 http fetch GET 200 https://registry.npmjs.org/micromatch 49ms (cache revalidated)
203 http fetch GET 200 https://registry.npmjs.org/path-type 52ms (cache revalidated)
204 http fetch GET 200 https://registry.npmjs.org/glob-parent 73ms (cache revalidated)
205 http fetch GET 200 https://registry.npmjs.org/@nodelib%2ffs.walk 74ms (cache revalidated)
206 http fetch GET 200 https://registry.npmjs.org/@nodelib%2ffs.stat 81ms (cache revalidated)
207 timing idealTree:node_modules/globby Completed in 86ms
208 timing idealTree:node_modules/array-union Completed in 0ms
209 silly placeDep ROOT path-type@4.0.0 OK for: dir-glob@3.0.1 want: ^4.0.0
210 timing idealTree:node_modules/dir-glob Completed in 1ms
211 silly placeDep ROOT @nodelib/fs.stat@2.0.5 OK for: fast-glob@3.2.11 want: ^2.0.2
212 silly placeDep ROOT @nodelib/fs.walk@1.2.8 OK for: fast-glob@3.2.11 want: ^1.2.3
213 silly placeDep ROOT glob-parent@5.1.2 OK for: fast-glob@3.2.11 want: ^5.1.2
214 silly placeDep ROOT micromatch@4.0.5 OK for: fast-glob@3.2.11 want: ^4.0.4
215 silly fetch manifest @nodelib/fs.scandir@2.1.5
216 silly fetch manifest fastq@^1.6.0
217 silly fetch manifest braces@^3.0.2
218 silly fetch manifest picomatch@^2.3.1
219 http fetch GET 200 https://registry.npmjs.org/braces 45ms (cache revalidated)
220 http fetch GET 200 https://registry.npmjs.org/fastq 57ms (cache updated)
221 http fetch GET 200 https://registry.npmjs.org/picomatch 59ms (cache revalidated)
222 http fetch GET 200 https://registry.npmjs.org/@nodelib%2ffs.scandir 81ms (cache revalidated)
223 timing idealTree:node_modules/fast-glob Completed in 86ms
224 timing idealTree:node_modules/@nodelib/fs.stat Completed in 0ms
225 silly placeDep ROOT @nodelib/fs.scandir@2.1.5 OK for: @nodelib/fs.walk@1.2.8 want: 2.1.5
226 silly placeDep ROOT fastq@1.13.0 OK for: @nodelib/fs.walk@1.2.8 want: ^1.6.0
227 silly fetch manifest run-parallel@^1.1.9
228 silly fetch manifest reusify@^1.0.4
229 http fetch GET 200 https://registry.npmjs.org/reusify 70ms (cache revalidated)
230 http fetch GET 200 https://registry.npmjs.org/run-parallel 75ms (cache revalidated)
231 timing idealTree:node_modules/@nodelib/fs.walk Completed in 77ms
232 silly placeDep ROOT run-parallel@1.2.0 OK for: @nodelib/fs.scandir@2.1.5 want: ^1.1.9
233 silly fetch manifest queue-microtask@^1.2.2
234 http fetch GET 200 https://registry.npmjs.org/queue-microtask 32ms (cache revalidated)
235 timing idealTree:node_modules/@nodelib/fs.scandir Completed in 34ms
236 silly placeDep ROOT reusify@1.0.4 OK for: fastq@1.13.0 want: ^1.0.4
237 timing idealTree:node_modules/fastq Completed in 1ms
238 timing idealTree:node_modules/glob-parent Completed in 0ms
239 silly placeDep node_modules/htmlparser2 entities@3.0.1 OK for: htmlparser2@7.2.0 want: ^3.0.1
240 timing idealTree:node_modules/htmlparser2 Completed in 1ms
241 timing idealTree:node_modules/ignore Completed in 0ms
242 silly placeDep ROOT is-extglob@2.1.1 OK for: is-glob@4.0.3 want: ^2.1.1
243 timing idealTree:node_modules/is-glob Completed in 1ms
244 timing idealTree:node_modules/is-extglob Completed in 0ms
245 timing idealTree:node_modules/merge2 Completed in 0ms
246 silly placeDep ROOT braces@3.0.2 OK for: micromatch@4.0.5 want: ^3.0.2
247 silly placeDep ROOT picomatch@2.3.1 OK for: micromatch@4.0.5 want: ^2.3.1
248 silly fetch manifest fill-range@^7.0.1
249 http fetch GET 200 https://registry.npmjs.org/fill-range 119ms (cache revalidated)
250 timing idealTree:node_modules/micromatch Completed in 121ms
251 silly placeDep ROOT fill-range@7.0.1 OK for: braces@3.0.2 want: ^7.0.1
252 silly fetch manifest to-regex-range@^5.0.1
253 http fetch GET 200 https://registry.npmjs.org/to-regex-range 43ms (cache revalidated)
254 timing idealTree:node_modules/braces Completed in 45ms
255 silly placeDep ROOT to-regex-range@5.0.1 OK for: fill-range@7.0.1 want: ^5.0.1
256 silly fetch manifest is-number@^7.0.0
257 http fetch GET 200 https://registry.npmjs.org/is-number 39ms (cache revalidated)
258 timing idealTree:node_modules/fill-range Completed in 40ms
259 timing idealTree:node_modules/ms Completed in 0ms
260 timing idealTree:node_modules/path-type Completed in 0ms
261 timing idealTree:node_modules/picomatch Completed in 0ms
262 silly placeDep ROOT nanoid@3.3.3 OK for: postcss@8.4.13 want: ^3.3.3
263 silly placeDep ROOT picocolors@1.0.0 OK for: postcss@8.4.13 want: ^1.0.0
264 silly placeDep ROOT source-map-js@1.0.2 OK for: postcss@8.4.13 want: ^1.0.2
265 timing idealTree:node_modules/postcss Completed in 2ms
266 timing idealTree:node_modules/nanoid Completed in 1ms
267 timing idealTree:node_modules/picocolors Completed in 0ms
268 timing idealTree:node_modules/prettier Completed in 0ms
269 timing idealTree:node_modules/prettier-plugin-svelte Completed in 0ms
270 silly placeDep ROOT ast-types@0.14.2 OK for: recast@0.20.5 want: 0.14.2
271 silly placeDep ROOT esprima@4.0.1 OK for: recast@0.20.5 want: ~4.0.0
272 silly placeDep ROOT source-map@0.6.1 OK for: recast@0.20.5 want: ~0.6.1
273 silly placeDep ROOT tslib@2.4.0 OK for: recast@0.20.5 want: ^2.0.1
274 timing idealTree:node_modules/recast Completed in 2ms
275 timing idealTree:node_modules/ast-types Completed in 1ms
276 timing idealTree:node_modules/esprima Completed in 0ms
277 timing idealTree:node_modules/reusify Completed in 0ms
278 silly placeDep ROOT queue-microtask@1.2.3 OK for: run-parallel@1.2.0 want: ^1.2.2
279 timing idealTree:node_modules/run-parallel Completed in 0ms
280 timing idealTree:node_modules/queue-microtask Completed in 0ms
281 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.3.7 want: ^6.0.0
282 silly fetch manifest yallist@^4.0.0
283 http fetch GET 200 https://registry.npmjs.org/yallist 46ms (cache revalidated)
284 timing idealTree:node_modules/semver Completed in 47ms
285 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0
286 timing idealTree:node_modules/lru-cache Completed in 1ms
287 timing idealTree:node_modules/slash Completed in 0ms
288 timing idealTree:node_modules/source-map Completed in 0ms
289 timing idealTree:node_modules/source-map-js Completed in 0ms
290 timing idealTree:node_modules/svelte Completed in 0ms
291 silly placeDep ROOT is-number@7.0.0 OK for: to-regex-range@5.0.1 want: ^7.0.0
292 timing idealTree:node_modules/to-regex-range Completed in 1ms
293 timing idealTree:node_modules/is-number Completed in 0ms
294 timing idealTree:node_modules/tslib Completed in 0ms
295 silly placeDep node_modules/tsutils tslib@1.14.1 OK for: tsutils@3.21.0 want: ^1.8.1
296 timing idealTree:node_modules/tsutils Completed in 1ms
297 timing idealTree:node_modules/typescript Completed in 0ms
298 timing idealTree:node_modules/yallist Completed in 0ms
299 timing idealTree:node_modules/htmlparser2/node_modules/entities Completed in 0ms
300 timing idealTree:node_modules/prompts/node_modules/kleur Completed in 0ms
301 timing idealTree:node_modules/tsutils/node_modules/tslib Completed in 0ms
302 timing idealTree:buildDeps Completed in 4611ms
303 timing idealTree:fixDepFlags Completed in 1ms
304 timing idealTree Completed in 4627ms
305 timing reify:loadTrees Completed in 4628ms
306 timing reify:diffTrees Completed in 2ms
307 silly reify moves {}
308 timing reify:retireShallow Completed in 1ms
309 timing reify:createSparse Completed in 9ms
310 timing reify:loadBundles Completed in 0ms
311 silly audit bulk request {
311 silly audit   '@svelte-add/create-kit': [ '2022.4.0-6.1' ],
311 silly audit   '@svelte-add/app-initializer-tools': [ '2022.4.0-6.1' ],
311 silly audit   'create-svelte': [ '2.0.0-next.132' ],
311 silly audit   'svelte-add': [ '2022.4.0-6.1' ],
311 silly audit   kleur: [ '4.1.4', '3.0.3' ],
311 silly audit   mri: [ '1.2.0' ],
311 silly audit   prompts: [ '2.4.2' ],
311 silly audit   sisteransi: [ '1.0.5' ],
311 silly audit   '@typescript-eslint/typescript-estree': [ '5.21.0' ],
311 silly audit   'dom-serializer': [ '1.4.1' ],
311 silly audit   domhandler: [ '4.3.1' ],
311 silly audit   domutils: [ '2.8.0' ],
311 silly audit   'estree-walker': [ '3.0.1' ],
311 silly audit   htmlparser2: [ '7.2.0' ],
311 silly audit   postcss: [ '8.4.13' ],
311 silly audit   prettier: [ '2.6.2' ],
311 silly audit   'prettier-plugin-svelte': [ '2.7.0' ],
311 silly audit   svelte: [ '3.48.0' ],
311 silly audit   recast: [ '0.20.5' ],
311 silly audit   typescript: [ '4.6.4' ],
311 silly audit   '@typescript-eslint/types': [ '5.21.0' ],
311 silly audit   '@typescript-eslint/visitor-keys': [ '5.21.0' ],
311 silly audit   debug: [ '4.3.4' ],
311 silly audit   globby: [ '11.1.0' ],
311 silly audit   'is-glob': [ '4.0.3' ],
311 silly audit   semver: [ '7.3.7' ],
311 silly audit   tsutils: [ '3.21.0' ],
311 silly audit   'eslint-visitor-keys': [ '3.3.0' ],
311 silly audit   ms: [ '2.1.2' ],
311 silly audit   domelementtype: [ '2.3.0' ],
311 silly audit   entities: [ '2.2.0', '3.0.1' ],
311 silly audit   'array-union': [ '2.1.0' ],
311 silly audit   'dir-glob': [ '3.0.1' ],
311 silly audit   'fast-glob': [ '3.2.11' ],
311 silly audit   ignore: [ '5.2.0' ],
311 silly audit   merge2: [ '1.4.1' ],
311 silly audit   slash: [ '3.0.0' ],
311 silly audit   'path-type': [ '4.0.0' ],
311 silly audit   '@nodelib/fs.stat': [ '2.0.5' ],
311 silly audit   '@nodelib/fs.walk': [ '1.2.8' ],
311 silly audit   'glob-parent': [ '5.1.2' ],
311 silly audit   micromatch: [ '4.0.5' ],
311 silly audit   '@nodelib/fs.scandir': [ '2.1.5' ],
311 silly audit   fastq: [ '1.13.0' ],
311 silly audit   'run-parallel': [ '1.2.0' ],
311 silly audit   reusify: [ '1.0.4' ],
311 silly audit   'is-extglob': [ '2.1.1' ],
311 silly audit   braces: [ '3.0.2' ],
311 silly audit   picomatch: [ '2.3.1' ],
311 silly audit   'fill-range': [ '7.0.1' ],
311 silly audit   'to-regex-range': [ '5.0.1' ],
311 silly audit   nanoid: [ '3.3.3' ],
311 silly audit   picocolors: [ '1.0.0' ],
311 silly audit   'source-map-js': [ '1.0.2' ],
311 silly audit   'ast-types': [ '0.14.2' ],
311 silly audit   esprima: [ '4.0.1' ],
311 silly audit   'source-map': [ '0.6.1' ],
311 silly audit   tslib: [ '2.4.0', '1.14.1' ],
311 silly audit   'queue-microtask': [ '1.2.3' ],
311 silly audit   'lru-cache': [ '6.0.0' ],
311 silly audit   yallist: [ '4.0.0' ],
311 silly audit   'is-number': [ '7.0.0' ]
311 silly audit }
312 silly tarball no local data for @svelte-add/app-initializer-tools@https://registry.npmjs.org/@svelte-add/app-initializer-tools/-/app-initializer-tools-2022.4.0-6.1.tgz. Extracting by manifest.
313 silly tarball no local data for @svelte-add/create-kit@https://registry.npmjs.org/@svelte-add/create-kit/-/create-kit-2022.4.0-6.1.tgz. Extracting by manifest.
314 silly tarball no local data for create-svelte@https://registry.npmjs.org/create-svelte/-/create-svelte-2.0.0-next.132.tgz. Extracting by manifest.
315 silly tarball no local data for svelte-add@https://registry.npmjs.org/svelte-add/-/svelte-add-2022.4.0-6.1.tgz. Extracting by manifest.
316 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 442ms
317 timing auditReport:getReport Completed in 452ms
318 silly audit report {}
319 timing auditReport:init Completed in 0ms
320 timing reify:audit Completed in 452ms
321 timing reifyNode:node_modules/is-number Completed in 466ms
322 timing reifyNode:node_modules/run-parallel Completed in 465ms
323 timing reifyNode:node_modules/is-extglob Completed in 466ms
324 timing reifyNode:node_modules/merge2 Completed in 466ms
325 timing reifyNode:node_modules/dir-glob Completed in 466ms
326 timing reifyNode:node_modules/ms Completed in 467ms
327 timing reifyNode:node_modules/queue-microtask Completed in 469ms
328 timing reifyNode:node_modules/lru-cache Completed in 469ms
329 timing reifyNode:node_modules/fill-range Completed in 469ms
330 timing reifyNode:node_modules/to-regex-range Completed in 470ms
331 timing reifyNode:node_modules/glob-parent Completed in 469ms
332 timing reifyNode:node_modules/path-type Completed in 469ms
333 timing reifyNode:node_modules/slash Completed in 470ms
334 timing reifyNode:node_modules/array-union Completed in 470ms
335 timing reifyNode:node_modules/is-glob Completed in 470ms
336 timing reifyNode:node_modules/yallist Completed in 473ms
337 timing reifyNode:node_modules/micromatch Completed in 473ms
338 timing reifyNode:node_modules/prompts/node_modules/kleur Completed in 472ms
339 timing reifyNode:node_modules/picocolors Completed in 476ms
340 timing reifyNode:node_modules/sisteransi Completed in 474ms
341 timing reifyNode:node_modules/mri Completed in 479ms
342 timing reifyNode:node_modules/globby Completed in 481ms
343 timing reifyNode:node_modules/debug Completed in 482ms
344 timing reifyNode:node_modules/reusify Completed in 487ms
345 timing reifyNode:node_modules/kleur Completed in 488ms
346 timing reifyNode:node_modules/ignore Completed in 490ms
347 timing reifyNode:node_modules/eslint-visitor-keys Completed in 495ms
348 timing reifyNode:node_modules/estree-walker Completed in 497ms
349 timing reifyNode:node_modules/domhandler Completed in 499ms
350 timing reifyNode:node_modules/braces Completed in 501ms
351 timing reifyNode:node_modules/@typescript-eslint/visitor-keys Completed in 501ms
352 timing reifyNode:node_modules/domelementtype Completed in 503ms
353 timing reifyNode:node_modules/tsutils/node_modules/tslib Completed in 504ms
354 timing reifyNode:node_modules/tslib Completed in 507ms
355 timing reifyNode:node_modules/picomatch Completed in 506ms
356 timing reifyNode:node_modules/prettier-plugin-svelte Completed in 510ms
357 timing reifyNode:node_modules/fastq Completed in 514ms
358 timing reifyNode:node_modules/dom-serializer Completed in 518ms
359 timing reifyNode:node_modules/@nodelib/fs.stat Completed in 520ms
360 timing reifyNode:node_modules/entities Completed in 523ms
361 timing reifyNode:node_modules/esprima Completed in 525ms
362 timing reifyNode:node_modules/htmlparser2 Completed in 523ms
363 timing reifyNode:node_modules/source-map-js Completed in 529ms
364 timing reifyNode:node_modules/@nodelib/fs.scandir Completed in 529ms
365 timing reifyNode:node_modules/nanoid Completed in 530ms
366 timing reifyNode:node_modules/domutils Completed in 531ms
367 timing reifyNode:node_modules/@typescript-eslint/types Completed in 532ms
368 timing reifyNode:node_modules/@nodelib/fs.walk Completed in 536ms
369 timing reifyNode:node_modules/htmlparser2/node_modules/entities Completed in 538ms
370 timing reifyNode:node_modules/semver Completed in 552ms
371 timing reifyNode:node_modules/recast Completed in 562ms
372 timing reifyNode:node_modules/postcss Completed in 563ms
373 timing reifyNode:node_modules/source-map Completed in 566ms
374 timing reifyNode:node_modules/fast-glob Completed in 566ms
375 timing reifyNode:node_modules/prompts Completed in 582ms
376 timing reifyNode:node_modules/ast-types Completed in 590ms
377 timing reifyNode:node_modules/tsutils Completed in 593ms
378 timing reifyNode:node_modules/@typescript-eslint/typescript-estree Completed in 595ms
379 http fetch GET 200 https://registry.npmjs.org/svelte-add/-/svelte-add-2022.4.0-6.1.tgz 566ms (cache miss)
380 timing reifyNode:node_modules/svelte-add Completed in 600ms
381 http fetch GET 200 https://registry.npmjs.org/create-svelte/-/create-svelte-2.0.0-next.132.tgz 576ms (cache miss)
382 timing reifyNode:node_modules/create-svelte Completed in 608ms
383 timing reifyNode:node_modules/svelte Completed in 694ms
384 timing reifyNode:node_modules/prettier Completed in 728ms
385 timing reifyNode:node_modules/typescript Completed in 934ms
386 http fetch GET 200 https://registry.npmjs.org/@svelte-add/create-kit/-/create-kit-2022.4.0-6.1.tgz 961ms (cache miss)
387 timing reifyNode:node_modules/@svelte-add/create-kit Completed in 990ms
388 http fetch GET 200 https://registry.npmjs.org/@svelte-add/app-initializer-tools/-/app-initializer-tools-2022.4.0-6.1.tgz 1698ms (cache miss)
389 timing reifyNode:node_modules/@svelte-add/app-initializer-tools Completed in 1722ms
390 timing reify:unpack Completed in 1726ms
391 timing reify:unretire Completed in 1ms
392 timing build:queue Completed in 1ms
393 timing build:link:node_modules/@svelte-add/create-kit Completed in 2ms
394 timing build:link:node_modules/create-svelte Completed in 3ms
395 timing build:link:node_modules/prettier Completed in 3ms
396 timing build:link:node_modules/svelte-add Completed in 3ms
397 timing build:link:node_modules/nanoid Completed in 3ms
398 timing build:link:node_modules/typescript Completed in 3ms
399 timing build:link:node_modules/semver Completed in 3ms
400 timing build:link:node_modules/esprima Completed in 3ms
401 timing build:link Completed in 3ms
402 timing build:deps Completed in 5ms
403 timing build Completed in 5ms
404 timing reify:build Completed in 5ms
405 timing reify:trash Completed in 0ms
406 timing reify:save Completed in 15ms
407 timing reify Completed in 6395ms
408 timing command:init Completed in 182687ms
409 verbose stack Error: command failed
409 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
409 verbose stack     at ChildProcess.emit (node:events:527:28)
409 verbose stack     at maybeClose (node:internal/child_process:1090:16)
409 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
410 verbose cwd /Users/hmt/entwicklung
411 verbose Darwin 21.4.0
412 verbose node v18.0.0
413 verbose npm  v8.6.0
414 error code 1
415 error path /Users/hmt/entwicklung
416 error command failed
417 error command sh -c create-kit
418 verbose exit 1
419 timing npm Completed in 182893ms
420 verbose code 1
421 error A complete log of this run can be found in:
421 error     /Users/hmt/.npm/_logs/2022-05-02T09_07_16_440Z-debug-0.log

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
babichjacobcommented, May 18, 2022

Hi, sorry about this issue everyone. I had attempted a fix for it a few days ago but there were other problems with the implementation I chose, so I have to start over. Until then, I’m publishing a fix that avoids the error but doesn’t yet support the new Type-checked JavaScript option.

1reaction
hadisajjadicommented, May 13, 2022

same here. cannot create an svelte kit project

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript vs. JSDoc JavaScript for static type checking
Thanks to TypeScript's support for JSDoc, JavaScript can now be statically type checked. What is JSDoc JavaScript? JSDoc itself actually dates ...
Read more >
Documentation - Type Checking JavaScript Files - TypeScript
How to add type checking to JavaScript files using TypeScript. ... add and then annotate a declaration in the constructor with JSDoc to...
Read more >
VS Code supports JSDoc-powered type checking - Stefan Judis
Learn how to enable JSDoc block based type checking in your JavaScript codebase.
Read more >
JSDoc typings: all the benefits of TypeScript, with none of the ...
You can use JSDoc typing to do everything you can do with TypeScript, but with pure JavaScript and without any transpilation, while using...
Read more >
[Proposal] Provide TS type checking based on JSDoc ... - GitHub
About half a year ago TS started parsing JSDoc comments inside JS, ... There's an option to add support for TS checking incrementally, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found