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

Adpter creator aborts without Message #1118

Open
mcm1957 opened this issue Sep 17, 2024 · 2 comments
Open

Adpter creator aborts without Message #1118

mcm1957 opened this issue Sep 17, 2024 · 2 comments

Comments

@mcm1957
Copy link
Contributor

mcm1957 commented Sep 17, 2024

Creation of new adapter aborts without error message:

C:\GitHub\mcm1957>npx @iobroker/create-adapter@latest
Need to install the following packages:
@iobroker/[email protected]
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? · [email protected]
√ 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
Copy link
Collaborator

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

@mcm1957
Copy link
Contributor Author

mcm1957 commented Sep 17, 2024

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.

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