Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while creating contentful app #1726

Closed
manikanta6696 opened this issue Oct 18, 2023 · 2 comments
Closed

Issue while creating contentful app #1726

manikanta6696 opened this issue Oct 18, 2023 · 2 comments

Comments

@manikanta6696
Copy link

manikanta6696 commented Oct 18, 2023

C:\Users\abcd\Desktop>npx create-contentful-app content-migrator
Creating a Contentful app in ~\Desktop\content-migrator.
? Do you want to start with a blank template or use one of our examples? Template
? Pick a template JavaScript

---- Cloning the javascript template...

Error: Failed to create content-migrator

ZlibError: zlib: unexpected end of file
at Unzip.write (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:1322:22)
at Unzip.flush (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:1273:10)
at Unzip.end (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:1279:10)
at Unpack.end (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:3989:21)
at Yallist. (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:903:18)
at Yallist.forEach (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:240:8)
at ReadStream.emit (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:900:18)
at ReadStream.emit (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:3262:22)
at ReadStream.[maybeEmitEnd] (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:864:12)
at ReadStream.end (C:\Users\abcd\AppData\Local\npm-cache_npx\a25b92dfae1d563c\node_modules\degit\dist\index-688c5d50.js:744:27) {
code: 'Z_BUF_ERROR',
errno: -5,
recoverable: false,
file: 'C:\Users\abcd\.degit\github\contentful\apps/a8813aeff43c41e410ac11a0b25c914b57b4c9d2.tar.gz',
cwd: 'C:\Users\abcd\Desktop\content-migrator',
tarCode: 'TAR_ABORT'
}

@jjolton-contentful
Copy link
Contributor

@manikanta6696 out of curiosity, what node/npm versions are you using? Does it throw this error every time or is there a chance this was a network hiccup? I am currently unable to reproduce this.

@manikanta6696
Copy link
Author

Seems like the Network issue, Its working now..
It used to work for me earlier too. Received this error for first time.
Now it started working agian.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants