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

Invalid haifan( - ) used in wp-env command #879

Closed
dilipbheda opened this issue Jun 20, 2023 · 2 comments
Closed

Invalid haifan( - ) used in wp-env command #879

dilipbheda opened this issue Jun 20, 2023 · 2 comments
Assignees

Comments

@dilipbheda
Copy link

Issue Description

When any user copy and paste the mentioned command then it will trigger the below error.

npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "–-save-dev": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kwt-reflp-hp-54/.npm/_logs/2023-06-20T06_47_02_468Z-debug.log

URL of the Page with the Issue

https://developer.wordpress.org/news/2023/03/quick-and-easy-local-wordpress-development-with-wp-env/

Section of Page with the issue

Local installation

Why is this a problem?

https://tinyurl.com/23g8ru2k

Suggested Fix

It should be -- instead of –-

@dilipbheda dilipbheda added the tracking issue Use to track a series of related issues. label Jun 20, 2023
@stevenlinx stevenlinx removed the tracking issue Use to track a series of related issues. label Jun 21, 2023
@stevenlinx
Copy link
Member

@mburridge
I think this is your post?

@mburridge
Copy link

@dilipbheda , @stevenlinx thanks for the heads up. I've fixed the error.

@mburridge mburridge self-assigned this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants