ioBroker / create-adapter

Command line utility to create customized ioBroker adapters
MIT License
50 stars 23 forks source link

Adpter creator aborts without Message #1118

Open mcm1957 opened 1 month ago

mcm1957 commented 1 month ago

Creation of new adapter aborts without error message:

C:\GitHub\mcm1957>npx @iobroker/create-adapter@latest
Need to install the following packages:
@iobroker/create-adapter@2.6.5
Ok to proceed? (y)

=====================================================
   Welcome to the ioBroker adapter creator v2.6.5!
=====================================================

You can cancel at any point by pressing Ctrl+C.

Let's get started with a few questions about your project!
√ Please enter the name of your project: · test2
√ Which title should be shown in the admin UI? · test
√ Please enter a short description: ·
√ Enter some keywords (separated by commas) to describe your project: ·
√ If you have any contributors, please enter their names (seperated by commas): ·

Nice! Let's get technical...
√ How detailed do you want to configure your project? · no
√ Which features should your project contain? · adapter
√ Which category does your adapter fall into? · alarm
√ From where will the adapter get its data? · cloud
√ How will the adapter receive its data? · poll

Some more questions about the source code...
√ Which language do you want to use to code the adapter? · JavaScript
√ Which framework would you like to use for the Admin UI? · json
√ Which of the following tools do you want to use? · ESLint, type checking
√ Would you like to automate new releases with one simple command? · yes
√ Would you like to use dev-server to develop and test your code with a simple command line tool? · yes
√ Please choose the port number on which dev-server should present the admin web interface: · 8181
√ Do you prefer tab or space indentation? · Space (4)
√ Do you prefer double or single quotes? · single

Almost done! Just a few administrative details...
√ Please enter your name (or nickname): · mcm1957
√ What's your name/org on GitHub? · mcm1957
√ What's your email address? · mcm57@gmx.at
√ Which license should be used for your project? · MIT License

That's it. Please wait a minute while I get this working...
[1/3] Generating files...
Using Legacy Google Translate
[2/3] Installing dependencies...

C:\GitHub\mcm1957>
AlCalzone commented 1 month ago

It worked for me. Do you have the create-adapter.json file you could share for a reproduction?

mcm1957 commented 1 month ago

No longer. But I can try to reproduce. What I checkd in meantime:

creation worked if I DESELECT dev-server. In this case 2 Steps are executed and result seems to be ok. creation fails if I select dev-server, Installation is stopping as shown above. I am on windows and I have dev-server installed globally.

Is the any option / any other way to enable additional logging? I assume the there is simply a problem with the existing dev.server installation.