-
-
Notifications
You must be signed in to change notification settings - Fork 432
Tutorial does not work #1333
Comments
I just tried and it worked fine for me on Ubuntu and Node 12. |
Just tested on Mac 10.15.6 with node 14.5.0 and it works so the problem seems to be limited to Windows |
Working OK for me (rollup) on
|
Working ok for me on Ubuntu 20.04
|
Different message this morning on a different Windows 10 computer using node 14.6.0 c:\TMP>npx degit "sveltejs/sapper-template#rollup" my-app c:\TMP>npx degit "sveltejs/sapper-template#webpack" my-app |
I feel like that is a degit issue when git is not configured/authenticated/set up for ssh. |
Confirmed ! The could not fetch issue was git related. |
Since it worked on another computer I upgraded to node 14.6.0 and npm cache clean -force and now the rollup version works. |
I have the same problem on my laptop. Upgraded from Node 12 to Node 14.6.0 and cleaned the npm cache but that didn't fix it. I have another Windows PC running the same version of Node 12 as before on my laptop and that works fine. |
I sent a fix for this issue: #1338 Thanks to @Shackless for remote debugging this with me! |
Describe the bug
Tried the LEARN sapper path found at https://sapper.svelte.dev/docs/
npx degit "sveltejs/sapper-template#rollup" my-app
or: npx degit "sveltejs/sapper-template#webpack" my-app
cd my-app
npm install
npm run dev
Went to localhost:3000 and got
500
Cannot read property 'map' of undefined
TypeError: Cannot read property 'map' of undefined
at load_component (http://localhost:3000/client/client.6eb8927e.js:2093:75)
at http://localhost:3000/client/client.6eb8927e.js:2044:50
at Array.map ()
at hydrate_target (http://localhost:3000/client/client.6eb8927e.js:2028:42)
at navigate (http://localhost:3000/client/client.6eb8927e.js:1894:3)
at handle_click (http://localhost:3000/client/client.6eb8927e.js:2211:3)
The OR path of the tutorial seem to work
npx degit "sveltejs/sapper-template#webpack" my-app
Windows 10 64 bit
Node v14.5.0
The text was updated successfully, but these errors were encountered: