We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npm将node_modules扁平化安装,导致构建器或者脚手架的依赖互相影响,比如安装builder-webpack3时会在.feflow下安装webpack3,而使用builder-webpack4时会寻找到webpack3,导致构建报错。
builder-webpack3
.feflow
builder-webpack4
npm install --global-style能避免此问题
npm install --global-style
相关issue #feflow/builder-webpack4#12
The text was updated successfully, but these errors were encountered:
另外,建议这种改动作为一个大版本发布,如果检测到用户目录下依然是扁平化的,建议直接删除node_modules重新npm install --global-style
node_modules
这样也能使.feflow目录结构非常nice:
├── node_modules │ ├── @tencent │ ├── builder-webpack3 │ ├── builder-webpack4 │ ├── generator-now-hybrid │ ├── generator-redux-startkit
脚手架和builder的依赖互不影响,使用了哪些脚手架一目了然😊
Sorry, something went wrong.
这个考虑在Feflow的v0.15.0中增加
已支持。bb509d8
cpselvis
No branches or pull requests
npm将node_modules扁平化安装,导致构建器或者脚手架的依赖互相影响,比如安装
builder-webpack3
时会在.feflow
下安装webpack3,而使用builder-webpack4
时会寻找到webpack3,导致构建报错。npm install --global-style
能避免此问题相关issue #feflow/builder-webpack4#12
The text was updated successfully, but these errors were encountered: