search

Home  >  Q&A  >  body text

node.js - Why does a project built with vue-cli under mac report an error on windows?

As the title says, I built a project using vue-cli on mac, then submitted it to github, cloned it under windows, and it also prompted that all node dependencies were installed. Why is it still reporting an error? Thank you, I have installed the memory-fs module. Later, it prompted that other modules were not installed. It is impossible to reinstall them every time.

怪我咯怪我咯2837 days ago682

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 13:39:53

    It may be that you forgot to --save when installing memory-is on mac, and package.json did not record this module.

    Try reinstalling the memory-is module.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:39:53

    The problem has been solved, and I hope it will be helpful to everyone. I installed the missing modules one by one, deleted all the node_modules folders, and npm installed again, and everything was normal.

    reply
    0
  • Cancelreply