我正在尝试从 React 开始,并且喜欢 Facebook 创建并在此处描述的 create-react-app 工具的简单性:
https://facebook.github.io/react/blog/2016/07/22/create-apps-with-no-configuration.html
谁能告诉我这里有什么问题?
我正在尝试将它与 FeatherJS 结合起来,并将此依赖项添加到 package.json:
"feathers": "^2.0.0"
这对 App.js:
import feathers from 'feathers';
现在我的 Web 应用程序将无法加载,并且我在控制台中收到此错误:
Compiled with warnings.
Warning in ./src/App.js
/Users/nikolaschou/Dev/newbanking/payment-window/src/App.js
4:8 warning 'feathers' is defined but never used no-unused-vars
✖ 1 problem (0 errors, 1 warning)
Warning in ./~/express/lib/view.js
Critical dependencies:
78:29-56 the request of a dependency is an expression
@ ./~/express/lib/view.js 78:29-56
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.