Comments (10)
https://nowa-webpack.github.io/docs/chang_jian_wen_ti.html
请按照常见问题 1 处理
from template-salt.
@gbk 试过了,还是不行,麻烦看一下
from template-salt.
from template-salt.
已确认 v1 存在问题(看起来是 stylus-loader 的版本问题),v2 和 v3 都是 OK 的,是否可以使用 v3 呢?
nowa init https://github.com/nowa-webpack/template-salt/archive/v3.zip
from template-salt.
@gbk 因为去年开发钉钉isv应用的时候使用的v1,好几个项目,短时间内没办法进行框架升级,能帮忙处理下吗
from template-salt.
@gbk 能帮忙看下吗
from template-salt.
执行下面的命令就行了:
ln -s ~/.nowa/install/webpack ~/.nowa/install/stylus-loader/node_modules/webpack
原因是 stylus-loader v2.5.1 在代码中依赖了 webpack,但没有在 package.json 的 dependencies 中声明该依赖
因为版本太过古老,维护成本高,先临时把依赖加上解决问题好了。
from template-salt.
from template-salt.
钉钉号码:18458850848,麻烦联系我一下,感激涕零
from template-salt.
rm -rf `npm root -g`/nowa
npm i nowa -g
from template-salt.
Related Issues (4)
- push版本过低问题 HOT 1
- nowa init page命令不能用,nowa init mod可以用 HOT 12
- svg图片使用问题 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template-salt.