-
Notifications
You must be signed in to change notification settings - Fork 746
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 <[email protected]>",
host: "mail.our-company.net",
port: 587,
auth: {
user: "[email protected]",
pass: "..."
}
},
npmClientName: "npm",
admins: {
one: "[email protected]",
two: "[email protected]"
},
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: