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

Unsupported URL Type: npm:string-width@^4.2.0 #3351

Open
muniana opened this issue Nov 4, 2024 · 4 comments
Open

Unsupported URL Type: npm:string-width@^4.2.0 #3351

muniana opened this issue Nov 4, 2024 · 4 comments

Comments

@muniana
Copy link

muniana commented Nov 4, 2024

weex preview报错:
× Install fail! Error: Unsupported URL Type: npm:string-width@^4.2.0
Error: Unsupported URL Type: npm:string-width@^4.2.0
at parseUrl (C:\Users\h.wx\core\node_modules_npm-package-arg@4.2.1@npm-package-arg\npa.js:186:13)
at npa (C:\Users\h.wx\core\node_modules_npm-package-arg@4.2.1@npm-package-arg\npa.js:79:12)
at _install (C:\Users\h.wx\core\node_modules_npminstall@3.28.1@npminstall\lib\install.js:62:11)
at _install.next ()
at onFulfilled (C:\Users\h.wx\core\node_modules_co@4.6.0@co\index.js:65:19)
at C:\Users\h.wx\core\node_modules_co@4.6.0@co\index.js:54:5
at new Promise ()
at co (C:\Users\h.wx\core\node_modules_co@4.6.0@co\index.js:50:10)
at toPromise (C:\Users\h.wx\core\node_modules_co@4.6.0@co\index.js:118:63)
at next (C:\Users\h.wx\core\node_modules_co@4.6.0@co\index.js:99:29)

@aa-cmd
Copy link

aa-cmd commented Nov 4, 2024

I've come across with same issue w/ [email protected], [email protected]

@fjcondy
Copy link

fjcondy commented Jan 30, 2025

me too. node version: v14.21.3. [email protected] . Mac platform.
weex install @weex-cli/compile --registry=https://registry.npmmirror.com ✖ Install fail! Error: Unsupported URL Type: npm:string-width@^4.2.0 Error: Unsupported URL Type: npm:string-width@^4.2.0

can somebody help me !

@firekyrin
Copy link

firekyrin commented Jan 30, 2025 via email

@fjcondy
Copy link

fjcondy commented Feb 1, 2025

找到问题了,需要把@weex-cli重装,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants