p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff }
p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d53bd3; background-color: #ffffff }
p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px }
span.s1 { }
span.s2 { color: #bfbfbf; background-color: #000000 }
span.s3 { background-color: #999900 }
span.s4 { color: #d53bd3 }
span.s5 { color: #990000; background-color: #000000 }
span.s6 { color: #000000 }
span.s7 { color: #c33720 }
span.s8 { color: #33bbc8 }
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/[email protected]@schema-utils/node_modules/ajv
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/[email protected]@schema-utils/node_modules/ajv-keywords
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/terser-webpack-plugin
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/watchpack
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/is-descriptor/node_modules
npm ERR! path /usr/local/lib/node_modules/webpack/node_modules/assert
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access ‘/usr/local/lib/node_modules/webpack/node_modules/assert‘
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhouqiang/.npm/_logs/2018-12-11T11_57_35_887Z-debug.log
出现这种情况我建议你还是重新安装node吧
可以通过命令查看一下npm配置
npm list -g
原文地址:https://www.cnblogs.com/cap-rq/p/10104840.html