我已经下载了 Dandelion starter-project 并将其解压缩到本地文件夹中。我跑了:
npm i
npm run build:dll
进而
npm start
然后它抱怨:
> dandelion_pro@1.6.1 start /home/......./dandelion/starter-project
> cross-env NODE_ENV=development node server
Happy[js]: Version: 5.0.1. Threads: 5 (shared pool)
Server started ! ✓
Access URLs:
-----------------------------------
Localhost: http://localhost:3001
LAN: http://xxx.xxx.xxx.xxx:3001
-----------------------------------
Press CTRL-C to stop
Webpack is building script...
Happy[js]: All set; signaling webpack to proceed.
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
webpack built 920e70412c607c0d50a6 in 3600ms
✖ 「wdm」:
ERROR in ./app/app.js
Module not found: Error: Can't resolve './.htaccess' in '/home/......./dandelion/starter-project/app'
@ ./app/app.js 27:0-48
@ multi ./node_modules/react-app-polyfill/ie11.js webpack-hot-middleware/client?reload=true ./app/app.js
我在网上搜索了一个解决方案,但我找不到一个。我的系统是基于 Ubuntu 18.04.3 的机器,运行 Linux Mint 19.3、nodejs 12.15.0 和 npm 6.13.4。我该如何解决这个问题?