-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装依赖后,项目已经不能启动了 #1
Comments
@Fantasy9527 你好,刚看到你的问题,这个原因我测试了一下应该是 react-app-rewire-less-modules 升级到1.2.0的原因,用1.1.0版本没有问题,我测试它的1.2.0版本在create-react-app中运行会出错,所以暂时先用1.1.0版本的库吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/Users/Fan/workspace/dva-boot/node_modules/react-app-rewire-less-modules/index.js:28
...cssRules.use,
TypeError: Cannot read property 'use' of undefined
at createRule (/Users/Fan/workspace/dva-boot/node_modules/react-app-rewire-less-modules/index.js:28:25)
at /Users/Fan/workspace/dva-boot/node_modules/react-app-rewire-less-modules/index.js:47:29
at Object.override [as webpack] (/Users/Fan/workspace/dva-boot/config-overrides.js:52:4)
at Object. (/Users/Fan/workspace/dva-boot/node_modules/react-app-rewired/scripts/start.js:13:13)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: