Closed ghost closed 6 years ago
what does which au
says?
Hi Alexander;
Thank you for your reply. I entered "au run" , and the response was "command not found". Though i did many researches, none of the recommendations helped me out
Thnaks again
On Wed, May 23, 2018 at 7:04 AM, Alexander Taran notifications@github.com wrote:
what does which au says?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-391307589, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZfpjicVM27j0xPFZOpH6I5K0dcDqks5t1UJbgaJpZM4UGKqJ .
@teskonetic you can install Aurelia CLI. One common way to do that is to run npm install -g aurelia-cli. That will install aurelia-cli globally.
There are a few books available that should give you a better learning experience than github issues and Google, and I believe some like this one may be free.
Hi Alexander;
Yeah, I tried all these and gave up. Thanks though for your effort. I prefer now to use other tools instead
Sincerely
On Sun, Jun 3, 2018 at 3:18 PM, David Morris notifications@github.com wrote:
@teskonetic https://github.com/teskonetic you can install Aurelia CLI. One common way to do that is to run npm install -g aurelia-cli. That will install aurelia-cli globally.
There are a few books available that should give you a better learning experience than github issues and Google, and I believe some like this one https://www.syncfusion.com/ebooks/aurelia_succinctly may be free.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-394184660, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZfDW9H4chEQkRjwuYdUzHzUdKVmsks5t5DaLgaJpZM4UGKqJ .
Did you try restarting your bash editor? (shouldn't be necessary but who knows)
Also, is it possible for you to run npm install -g aurelia-cli
without the sudo
?
thanks Ashley, I did every thing you said but nothing helped me out!
On Wed, Jun 6, 2018 at 8:40 PM, Ashley Grant notifications@github.com wrote:
Did you try restarting your bash editor? (shouldn't be necessary but who knows)
Also, is it possible for you to run npm install -g aurelia-cli without the sudo?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-395256794, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZZZfe5bS96gMAi14MfkPcyU9an-Fks5t6HaGgaJpZM4UGKqJ .
In that case, I would recommend maybe uninstalling and then reinstalling Node and NPM on your computer. Just please understand that the issue you are having is with either Node, NPM, or your computer's PATH variable and not with the Aurelia CLI or Framework.
My two cents: maybe it was because of the fact that the installation of the aurelia-cli was performed using sudo: https://johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/
I did all these things; install and uninstall, thanks
On Fri, Jun 8, 2018 at 11:01 AM, Ashley Grant notifications@github.com wrote:
In that case, I would recommend maybe uninstalling and then reinstalling Node and NPM on your computer. Just please understand that the issue you are having is with either Node, NPM, or your computer's PATH variable and not with the Aurelia CLI or Framework.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-395788798, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZTNMw8TIlFEiaa9yMhINd7xDS1l1ks5t6pHkgaJpZM4UGKqJ .
Hi Paolo;
with the link you provided, I installed and run on terminal. the most part seemed working good, but when i run this:
npm list -g --depth=0
i got this below error message. do you have any suggestions?
└── error: ENOENT: no such file or directory, stat '/Users/chung/.npm-packages/lib/node_modules/npm
npm ERR! error in /Users/chung/.npm-packages/lib/node_modules/npm: ENOENT: no such file or directory, stat '/Users/chung/.npm-packages/lib/node_modules/npm'
Best
On Fri, Jun 8, 2018 at 4:49 PM, Paolo Carrasco notifications@github.com wrote:
My two cents: maybe it was because of the fact that the installation of the aurelia-cli was performed using sudo: https://johnpapa.net/how-to- use-npm-global-without-sudo-on-osx/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-395885986, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZZo8I6MxkFCgPmmu5JvR-cwuYscDks5t6uNFgaJpZM4UGKqJ .
I see. There was an update in the link, now I realize. There is an easier path without using brew (it is similar to the second option suggested by NPM):
npm install npm -g
(don't use sudo)mkdir ~/.npm-packages
(don't use sudo)npm config set prefix ~/.npm-packages
(this is the most important step)After this, it should work the last command and the CLI could be installed globally. Another option you could try is NPX for running global installed commands (I didn't try this option, let me know if you did)
Thank you for your time again. Nothing changed. Am done and not interested anymore in this framework, it's so so outrageous !. This framework is at early stage of development and i don't recommend to use it for anyone. I do write my bad experience and review on the founders page too.
Best
On Tue, Jun 12, 2018 at 8:27 PM, Paolo Carrasco notifications@github.com wrote:
I see. There was an update in the link, now I realize. There is an easier path without using brew (it is similar to the second option suggested by NPM https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-two-change-npms-default-directory ):
- Install Node.js from https://nodejs.org/en/download/
- Update to the latest version of npm: npm install npm -g (don't use sudo)
- Make a new folder for the npm global packages: mkdir ~/.npm-packages (don't use sudo)
- Tell npm where to find/store them: npm config set prefix ~/.npm-packages (this is the most important step)
After this, it should work the last command and the CLI could be installed globally.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aurelia/framework/issues/887#issuecomment-396775633, or mute the thread https://github.com/notifications/unsubscribe-auth/AkoTZb2zdqvRg8aoFzP6kV9UJfJfQZl7ks5t8Fx3gaJpZM4UGKqJ .
@teskonetic I'm sorry to hear about your bad experience. However, the issues you have experienced are in no way related to Aurelia. They are issues with Node/NPM or with your machine's configuration. I highly recommend that you seek a solution to the root problems, otherwise, you are likely to have many issues like this with many frameworks and libraries in the future.
I had this issue, You need to add Aurelia to your PATH as the npn install aurelia-cli -g command does not do this for you. the Install dir will be something like C:\users\user\appdata\roaming\npm
@DavidBawden1 if the npm
global install folder is not added to your path when you install Node, then I would recommend reinstalling Node. Also, sometimes Windows can require a reboot to recognize newly added paths on the PATH variable. In either case, these are issues with Node/NPM and not Aurelia.
I'm submitting a bug report
Please tell us about your environment: Operating System: OSX 10.13.4
Node Version: v8.11.2
NPM Version: 5.6.0
Aurelia CLI OR JSPM OR Webpack AND Version aurelia-cli@0.33.1
Browser: Safari: Version 11.1
Language: both in TypeScript X.X and ESNext
IDE: Sublime text, visual studio code, Current behavior:
Aurelia CLI was installed with this command globally and got its version: $ sudo npm install -g aurelia-cli
once you do all these above you see the versions installed in your local machine. All requirements and versions of apps are met (installed). But when you run this below command from terminal, it returns "command not found": $ au -v $ -bash: aurelia: command not found
Besides, other commands like I tested with au run or au --help, none of them works too
Expected/desired behavior:
brings an option that enable you to create a new Aurelia project or