Code Monkey home page Code Monkey logo

Comments (5)

Xaz16 avatar Xaz16 commented on May 26, 2024 1

Thank you so much, but debugging through 'which' help me. It's strange thing that when I do
npm install <anything>

it's installed in
/usr/local/bin and /Users/<your_user>/.nvm/versions/node/v8.9.1/bin/adonis

Because later I installed adonis-cli my PATH see only 2.0 version which in /usr/local/bin and when I remove all adonis binaries from directories and made
npm install -g @adonisjs/cli

it installed in nvm path and can't see adonis/cli v3.0, because it not specified in $PATH of my bash. When I use nvm path it works properly.

Look like trouble in my side. Sorry for disturbing. Thank you.

from adonis-cli.

RomainLanz avatar RomainLanz commented on May 26, 2024

Hey @Xaz16! 👋

Be sure to use the latest CLI which is @adonisjs/cli and not adonis-cli.

$ npm install -g @adonisjs/cli

One more points is different hello world pages between docs and spawned by adonis new command.

Sorry, I didn't get your question.

from adonis-cli.

Xaz16 avatar Xaz16 commented on May 26, 2024

Be sure to use the latest CLI which is @adonisjs/cli and not adonis-cli.

2017-11-12_23-44-45

Yes, I have latest version.

Sorry, I didn't get your question.

I mean difference between start screen from cli and docs
cli
welcome-page

from adonis-cli.

RomainLanz avatar RomainLanz commented on May 26, 2024

Ok, so the first landing page are the one from 3.2.

Could you please run which adonis and also try to first uninstall the 3.2 CLI then install the 4.0?

$ npm uninstall -g adonis-cli
$ npm install -g @adonisjs/cli

Also this may help https://forum.adonisjs.com/t/stuck-on-cli-version-2-1-8/215

from adonis-cli.

RomainLanz avatar RomainLanz commented on May 26, 2024

I'm glad you get it solved!

Happy coding with Adonis 🚀

from adonis-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.