contentful / create-contentful-app

Bootstrap a Contentful App

Home Page:https://contentful.com/developers/docs/extensibility/app-framework/create-contentful-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error running npx @contentful/create-contentful-app

manikanta6696 opened this issue · comments

Hello Contentful Team,

I am receiving the below error while creating contentful app using npx create-contentful-app [app-name]

npx: installed 98 in 27.23s
Creating a Contentful app in ~\Documents\GitHub\contentful-apps\test-app.
node:events:504
throw er; // Unhandled 'error' event
^

Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'install', '--no-audit', '--no-fund' ]
}

Node Version:16.14.2
npm version: 6.14.16

By the way, I can see app got created, but still i want to know what is causing this error and whether it effects my app to publish..

This should be working now. @manikanta6696 please let us know should this issue come up again.