在線等 npm start 后
[HMR] Waiting for update signal from WDS...
TypeError: Cannot assign to read only property 'sex' of object '#<Object>'
? ? at Object../src/proxy.js (index.js:19628)
? ? at __webpack_require__ (index.js:679)
? ? at fn (index.js:89)
? ? at Object../index.js (index.js:736)
? ? at __webpack_require__ (index.js:679)
? ? at fn (index.js:89)
? ? at Object.0 (index.js:19673)
? ? at __webpack_require__ (index.js:679)
? ? at index.js:725
? ? at index.js:728
TypeError: 'set' on proxy: trap returned falsish for property 'sex'
? ? at Object../src/proxy.js (index.js:19659)
? ? at __webpack_require__ (index.js:679)
? ? at fn (index.js:89)
? ? at Object../index.js (index.js:736)
? ? at __webpack_require__ (index.js:679)
? ? at fn (index.js:89)
? ? at Object.0 (index.js:19673)
? ? at __webpack_require__ (index.js:679)
? ? at index.js:725
? ? at index.js:728
安裝 npm i 時(shí) 提示?
audited 5776 packages in 12.551s
found 35 vulnerabilities (7 low, 24 moderate, 4 high)
? run `npm audit fix` to fix them, or `npm audit` for details
2018-07-02
已解決,
命令行的提示,先 運(yùn)行?npm audit fix? ,然后在?npm audit fix --force 。
打開 index.js 文件 。修改成
完工。