upload your own package to the npm official website, but you can"t find it on the official website, nor can you retrieve it
.
does anyone know why this is?
upload your own package to the npm official website, but you can"t find it on the official website, nor can you retrieve it
.
does anyone know why this is?
first of all, you need to make sure that your user exists:
npm config ls
secondly, your package.json must have a name and a version number. I think this should be fine. Then try to install
npm install wflixu
published successfully.
but your screenshot is not installed or searched.
cannot install or search, it should be the package name.
A magical mistake.
originally the command to publish the npm package was
npm publish.
with one less solid point before
1. There is a delay in npm. Let's see if we can find it later.
2. Npm may have made a search limit, which does not exceed a certain number of clicks or downloads. It cannot be found, and can only be found by looking in its own packges.
3. If you upload successfully and want to download the package you uploaded in the new project, remember to npm init your new project, and then npn install < name > bar
.Previous: Comparison of common ways to determine the size of the timestamp type of oracle accurate to the date
Next: How does js add a separate class? to the li loop every 1 second