javascript - 无法读取未定义 CompileError 的属性“toLowerCase”:从 CSS 选择器 .invert-color 开始
问题描述
我有一个项目在我运行时运行良好,npm start
但在运行时失败并出现此错误npm run build
或yarn build
Failed to compile.
Cannot read property 'toLowerCase' of undefined
CompileError: Begins at CSS selector .invert-color .form-checkbox input:checked,.invert-color .form-radio input:checked
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! open-react-template@0.1.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the open-react-template@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
...
解决方案
推荐阅读
- angular - ngb-accordion 标题内的按钮默认打开面板以及自定义功能
- c++ - OpenCV 3.4.3 中对“cv::String::deallocate()”错误的未定义引用
- adobe - 工作流超时功能在 aem 中不起作用
- recursion - OCaml 函数来评估加法和减法
- android - Firebase Authentication Android:删除任何经过身份验证的用户
- python - Pandas Dataframe 数据是相同的还是新的?
- javascript - 反应:e.target.getAttribute ("id") 工作 20% 的时间?
- python - 如何在 django rest 框架中获取外键字段名称而不是 id
- ibm-cloud-infrastructure - 软层:如何使用 golang 将 vlan 添加到服务器
- c - 在 C 中记录和替换文本文件中的变量