There's something wrong with npm install vue-resource.

such a problem occurs when executing npm install vue-resource-- save

D:myProjecttranslate > npm install vue-resource-- save
npm err! Code ENOTFOUND
npm err! Errno ENOTFOUND
npm err! Network request to https://registry.npmjs.org/vu. failed, reas
on: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm err! Network This is a problem related to network connectivity.
npm err! Network In most cases you are behind a proxy or have bad network settin
gs.
npm err! Network
npm err! Network If you are behind a proxy, please make sure that the
npm err! Network "proxy" config is set properly. See: "npm help config"
npm err! A complete log of this run can be found in:
npm err! C:UsersAdministratorAppDataRoamingnpm-cache_logs2018-07-23T0

look at the hint that it is possible to make the network, but I can install jQuery,bootstrap and so on successfully, that is, the vue-resource installation is not successful. What"s going on? ask Daniel for help.

Mar.29,2021

npm is not stable. It is recommended to switch to cnpm.
in addition, vue recommends axios for ajax,resource is no longer maintained.


has been solved, network problems


cnpm install Taobao image


or it is recommended to install cnpm npm installation really often report some messy error

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b33493-2bead.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b33493-2bead.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?