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

npm init adonis-ts-app@latest app-name error if eslint paramenter is set to true #4518

Closed
aliriodigital opened this issue Apr 15, 2024 · 3 comments
Labels
Type: Question Needs clarification

Comments

@aliriodigital
Copy link

Package version

create-adonis-ts-app version 4.2.7

Describe the bug

I am getting the below error when creating a new adonisjs 5 app. The error is displayed only when Setup eslint? (y/N) is set to true. Could you guys help to solve the issue?
alirio@alirio-PC:~/AdonisJs$ npm init adonis-ts-app@latest hello-world

 _       _             _         _ ____  
/ \   __| | ___  _ __ (_)___    | / ___| 

/ _ \ / ` |/ _ | ' | / | | __ \
/ ___ \ (| | () | | | | __ \ || |) |
/
/ __
,|___/|| |||/_/|___/

CUSTOMIZE PROJECT
❯ Select the project structure … Press to select
▸ api (Tailored for creating a REST API server)
web (Traditional web application with server rendered templates)
❯ Select the project structure · api
❯ Enter the project name · hello-world
❯ Setup eslint? (y/N) · true
❯ Setup prettier? (y/N) · true

RUNNING TASKS
❯ Scaffold project 35 ms
❯ Install dependencies 4.97 s
npm install failed
❯ Configure installed packages

[ error ] Unable to create project. Cleaning up

Screenshot_select-area_20240415145709

Reproduction repo

No response

@aliriodigital
Copy link
Author

I must to tell that I am using linux (deepin 20, a debian based distribution) as my operative system.

@Julien-R44
Copy link
Member

any reasons for using the installer for AdonisJS 5 ? AdonisJS 6 has been released

Follow this for creating a new application with AdonisJS 6 : https://docs.adonisjs.com/guides/installation#creating-a-new-application

@aliriodigital
Copy link
Author

any reasons for using the installer for AdonisJS 5 ? AdonisJS 6 has been released

Follow this for creating a new application with AdonisJS 6 : https://docs.adonisjs.com/guides/installation#creating-a-new-application

I did not know version 6 was realeased. I already solved the issue. Thank you so much for your help!

@RomainLanz RomainLanz added the Type: Question Needs clarification label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Needs clarification
Projects
None yet
Development

No branches or pull requests

3 participants