2 minor issues encountered by NPM

Source: Internet
Author: User

There are a few recent projects to use with Vux, which need to be installed and built with NPM, with 2 issues logged:

1. npm Install when the Node_modules directory is always empty, the command during the execution of the killed prompt, trial and error search, and finally found that the server's memory is too small to increase the swap partition after normal. Reference resources: https://zhuanlan.zhihu.com/p/33690932

2. npm Run Dev encountered invalid host error, help search found, need to turn off the Webpack_dev_server host check function, reference resources: https://blog.csdn.net/su22du/ article/details/79510072, Note that the file to be modified is build\webpack.dev.conf.js.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.