search

Home  >  Q&A  >  body text

node.js - After cnpm is installed on the server, the code on npm cannot be sync

  1. I installed cnpm on our private server.

  2. Then I searched for package on our web page, and it was prompted that package can not be found.

  1. Then I clicked "SYNC", but nothing was synced. Is there something wrong with my operation? Or where should I configure it?


..]

----> Update
Modify the config/index.js configuration file:
Change the syncModel from none to exist, and the following error appears:

ringa_leeringa_lee2843 days ago487

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-16 13:30:34

    Problem found, version defect in new version. . .
    https://github.com/cnpm/cnpmj...

    reply
    0
  • Cancelreply