contentful / create-contentful-extension

Create Contentful Extension is a CLI tool for developing in-app extensions without the hassle of managing build configurations.
MIT License
71 stars 14 forks source link

zlib usage #430

Open jariExxeta opened 2 years ago

jariExxeta commented 2 years ago

I tried to develop a new ui-extension with cli support. I followed these instructions to do so.

when running npm install i get the following error

npm ERR! path <path-to-generated-extension-project>\<extension-name>\node_modules\zlib
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-waf clean || true; node-waf configure build
npm ERR! Der Befehl "node-waf" ist entweder falsch geschrieben oder
npm ERR! konnte nicht gefunden werden.
npm ERR! Der Befehl "true" ist entweder falsch geschrieben oder
npm ERR! konnte nicht gefunden werden.
contentful -v
1.12.15

node -v
v16.14.0

npm -v
8.5.3

OS System: windows 10

Any idear how to work aroung this? I would really like to have full use of this tool.

Thx!

jariExxeta commented 2 years ago

Workarounf for me is to manually update the contentful-cli version in the package.json to > V1.12.5