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
Syncs package named "constructor" on new installation #857
Comments
Which url show you this message |
I never installed a package named I was wondering if it's because the code is iterating over an object and not excluding inherited properties. See here. Somewhere in the sync code I think it may be missing a
|
@fengmk2 Do you follow what I'm saying? |
Yep, can you tell me a simple way to reappear this? |
Our configuration looks similar to this: const OurUserService = require("/path/to/our-user-service");
module.exports = {
bindingHost: "0.0.0.0",
registryHost: "registry.cnpm.dev.our-company.net",
sessionSecret: "...",
logdir: "/con/log/cnpm/",
uploadDir: "/con/data/cnpm/downloads/",
mail: {
enable: true,
appname: "Our Company CNPM",
from: "CNPMJS <sysnotifications@our-company.net>",
host: "mail.our-company.net",
port: 587,
auth: {
user: "sysnotifications@our-company.net",
pass: "..."
}
},
npmClientName: "npm",
admins: {
one: "one@our-company.net",
two: "two@our-company.net"
},
scopes: [
"@our-company"
],
syncModel: "exist",
syncInterval: "24h",
// Only admins can publish.
enablePrivate: true,
// Require authentication.
alwaysAuth: true,
// Use our custom user service.
userService: new OurUserService()
}; Maybe it's something specific to
When we started the server for the first time (without installing any packages), it started to sync this |
@fengmk2 Were you able to reproduce this issue? |
I will try to reproduce this in these two days. |
As mentioned here.
Clean installation of CNPM (no published packages): http://snag.gy/z02Z5.jpg
If you click the link to
constructor
, it takes you to a page that saysCan not found package match constructor. You can SYNC from official npm registry or SEARCH in official npm website.
.What is this package?
The text was updated successfully, but these errors were encountered: