This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 532
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add possible missing step
Thank you for the pull request. Did you get an error running just the command? |
i get:
# npm-check-updates;
-bash: npm-check-updates: command not found
Thank you,
Mark Edwards
…On Thu, Apr 1, 2021 at 10:23 AM David Luecke ***@***.***> wrote:
Thank you for the pull request. Did you try running just the command? npx
should normally do the installation automatically.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1524 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWJ3YQCZZ4CF4EDZROJYOLTGST25ANCNFSM42HPIXUA>
.
|
The command is |
yes i did that and got the error i showed you before. 😁 but maybe
something might be wrong in my setup....?
imho, i would also terminate every command with a semicolon for
readability sake so that way it's clear if this is a new command or an
extension of the previous command. but again, imho.
happy April 1st to you!
Thank you,
Mark Edwards
…On Thu, Apr 1, 2021 at 10:35 AM David Luecke ***@***.***> wrote:
The command is $ npx npm-check-updates (note the npx
<https://docs.npmjs.com/cli/v7/commands/npx>)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1524 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWJ3YQA2X57QAPU3G2GZCDTGSVE7ANCNFSM42HPIXUA>
.
|
What happens if you run something like |
# npx http-server
(node:30132) ExperimentalWarning: The fs.promises API is experimental
Need to install the following packages:
http-server
Ok to proceed? (y) y
sh: http-server: command not found
npm notice
npm notice New patch version of npm available! 7.7.4 -> 7.7.6
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.7.6
npm notice Run npm install -g ***@***.*** to update!
npm notice
Thank you,
Mark Edwards
…On Thu, Apr 1, 2021 at 10:43 AM David Luecke ***@***.***> wrote:
What happens if you run something like npx http-server?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1524 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWJ3YXZDI6G2LKCHARYWELTGSWFNANCNFSM42HPIXUA>
.
|
It does look like something with your setup - on MacOS and Linux I definitely recommend using nvm - installed normally with local permissions - with one of the later Node versions. |
for fun i did the following - looks like you are correct:
1) google-vm centos-8
2-6 from https://gist.github.com/leandrino/e84ca31e69e7803bcf7d91996316cc79
2) dnf -y update ;
3) dnf install -y nodejs npm ;
4) npm install -g nvm ;
#npm WARN deprecated ***@***.***: This is NOT the correct nvm.
Visit http://nvm.sh and use the curl command to install it.
5 from https://github.com/nvm-sh/nvm/blob/master/README.md
5) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh
| bash ;
npm install -g n ;
6) npx -v ;
6.14.11
7) npm -v ; node -v ;
6.14.11
v10.24.0
8) npx http-server ;
npx: installed 30 in 5.494s
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://10.128.0.57:8080
Hit CTRL-C to stop the server
Thank you,
Mark Edwards
…On Thu, Apr 1, 2021 at 11:02 AM David Luecke ***@***.***> wrote:
It does look like something with your setup - on MacOS and Linux I
definitely recommend using nvm <https://github.com/nvm-sh/nvm> -
installed normally with local permissions - with one of the later Node
versions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1524 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWJ3YSEZUFQR4YE3AQVJNDTGSYLLANCNFSM42HPIXUA>
.
|
Yup, that's what |
ah gotcha - so move off of centos-7 and on to centos-8, or better yet,
rocky-linux (even if its been delayed a month).😊
Thank you,
Mark Edwards
…On Thu, Apr 1, 2021 at 3:12 PM David Luecke ***@***.***> wrote:
Yup, that's what npx http-server should show. The command from the docs
would then also work. So it's likely some misconfiguration on your system.
Common ones are wrong permissions or a wrong PATH
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1524 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWJ3YT5Y5D3WOXPW4PPQCLTGTVWNANCNFSM42HPIXUA>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
add possible missing step