我得到的错误Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.,当我运行命令npm run dev我也收到这下一个一个错误,指出ERROR in Entry module not found: Error: Can't resolve后跟路径。我不太确定为什么它找不到入口点任何帮助将不胜感激。
将整个项目上传到 github 以帮助提高可见性。 https://github.com/dustinm94/coding-challenge
webpack.config.js
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader"
}
}
]
}
}
Run Code Online (Sandbox Code Playgroud)
包.json
{
"name": "coding_challenge",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "webpack --mode development --watch ./coding/frontend/src/index.js --output ./coding/frontend/static/frontend/main.js",
"build": "webpack --mode production ./coding/frontend/src/index.js --output …Run Code Online (Sandbox Code Playgroud) 当我尝试从requirements.txt 文件安装我的项目时,我运行pip install -r requirements.txt并在我的pandas 依赖项上失败。我不太确定为什么有人有任何建议?
点版本:
pip 20.0.2 from c:\users\name\appdata\local\programs\python\python35\lib\site-packages\pip (python 3.5)
Run Code Online (Sandbox Code Playgroud)
要求.txt:
numpy==1.18.2
pandas==1.0.3
python-dateutil==2.8.1
pytz==2019.3
six==1.14.0
Run Code Online (Sandbox Code Playgroud)
错误:
ERROR: Could not find a version that satisfies the requirement pandas==1.0.3 (from -r requirements.txt (line 2)) (from versions: 0.1, 0.2b0, 0.2b1, 0.2, 0.3.0b0, 0.3.0b2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0rc1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0rc1, 0.8.0rc2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, …Run Code Online (Sandbox Code Playgroud)