Last active
March 16, 2021 13:39
-
-
Save mzaini30/1ff32eda9fa99b9de1919b7e1417f4fc to your computer and use it in GitHub Desktop.
Cannot export to static
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Using @sveltejs/adapter-static | |
> adapter.adapt is not a function | |
TypeError: adapter.adapt is not a function | |
at adapt (file:///home/zen/Dokumen/website/coba-svelte-kit/node_modules/@sveltejs/kit/dist/chunks/index5.js:758:16) | |
at async file:///home/zen/Dokumen/website/coba-svelte-kit/node_modules/@sveltejs/kit/dist/cli.js:507:5 | |
npm ERR! code 1 | |
npm ERR! path /home/zen/Dokumen/website/coba-svelte-kit | |
npm ERR! command failed | |
npm ERR! command sh -c svelte-kit build | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/zen/.npm/_logs/2021-03-16T13_34_58_264Z-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 verbose cli [ | |
0 verbose cli '/home/zen/.nvm/versions/node/v14.16.0/bin/node', | |
0 verbose cli '/home/zen/.nvm/versions/node/v14.16.0/bin/npm', | |
0 verbose cli 'run', | |
0 verbose cli 'build' | |
0 verbose cli ] | |
1 info using npm@7.6.3 | |
2 info using node@v14.16.0 | |
3 timing config:load:defaults Completed in 9ms | |
4 timing config:load:file:/home/zen/.nvm/versions/node/v14.16.0/lib/node_modules/npm/npmrc Completed in 7ms | |
5 timing config:load:builtin Completed in 7ms | |
6 timing config:load:cli Completed in 10ms | |
7 timing config:load:env Completed in 3ms | |
8 timing config:load:file:/home/zen/Dokumen/website/coba-svelte-kit/.npmrc Completed in 1ms | |
9 timing config:load:project Completed in 4ms | |
10 timing config:load:file:/home/zen/.npmrc Completed in 0ms | |
11 timing config:load:user Completed in 2ms | |
12 timing config:load:file:/home/zen/.nvm/versions/node/v14.16.0/etc/npmrc Completed in 1ms | |
13 timing config:load:global Completed in 1ms | |
14 timing config:load:cafile Completed in 1ms | |
15 timing config:load:validate Completed in 1ms | |
16 timing config:load:setUserAgent Completed in 4ms | |
17 timing config:load:setEnvs Completed in 5ms | |
18 timing config:load Completed in 51ms | |
19 verbose npm-session 198a13e31e826631 | |
20 timing npm:load Completed in 98ms | |
21 timing command:run Completed in 27581ms | |
22 verbose stack Error: command failed | |
22 verbose stack at ChildProcess.<anonymous> (/home/zen/.nvm/versions/node/v14.16.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27) | |
22 verbose stack at ChildProcess.emit (events.js:315:20) | |
22 verbose stack at maybeClose (internal/child_process.js:1048:16) | |
22 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) | |
23 verbose pkgid coba-svelte-kit@0.0.1 | |
24 verbose cwd /home/zen/Dokumen/website/coba-svelte-kit | |
25 verbose Linux 4.15.0-74-generic | |
26 verbose argv "/home/zen/.nvm/versions/node/v14.16.0/bin/node" "/home/zen/.nvm/versions/node/v14.16.0/bin/npm" "run" "build" | |
27 verbose node v14.16.0 | |
28 verbose npm v7.6.3 | |
29 error code 1 | |
30 error path /home/zen/Dokumen/website/coba-svelte-kit | |
31 error command failed | |
32 error command sh -c svelte-kit build | |
33 verbose exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment