Comments (20)
需要先在 wean 根目录下 npm link,因为现在还没有发 npm 包
from wean.
需要先在 wean 根目录下 npm link,因为现在还没有发 npm 包
在wean 根目录下 npm link后,无论返回根目录还是wean根目录下,继续执行wean -e app.json -o /dist/。问题仍然存在
from wean.
问题仍然存在
你是 windows 吗,我感觉像是环境变量没有设置上,我 windows 也这样,要不就,你就 node ./core/cli.js -e ./app.json -o ./dist/
from wean.
问题仍然存在
你是 windows 吗,我感觉像是环境变量没有设置上,我 windows 也这样,要不就,你就 node ./core/cli.js -e ./app.json -o ./dist/
from wean.
-e ./app.json -o ./dist/ 换成相对路径,另外具体是啥报错呀
from wean.
-e ./app.json -o ./dist/ 换成相对路径,另外具体是啥报错呀
就是报zsh: command not found: wean
from wean.
我擦这好奇怪啊,放到 package.json 的 scripts 中试试
from wean.
from wean.
算了放弃吧,把文件夹放到 wean 根目录,然后 node ./core/cli.js 吧,我觉得应该是 npm link 的时候没有 link 到全局
from wean.
您好,我给搞好了。使用命令构建成功。但是dist文件夹下的html使用chorme打开,是空白,是必须使用APP的webview来加载这个html文件才可以吗?
from wean.
不是,正常就可以,你这个肯定不对,有两个文件都构建到外边了 使用相对路径!
-e ./app.json -o ./dist/
from wean.
才疏学浅,还麻烦看看是哪一步出了问题?
执行wean -e ./app.json -o ./dist
from wean.
-e ./app.json -o ./dist/ 你缺了一个斜杠,e 是入口文件,o 是输出目录,都用相对路径,你自己多试试,反正必须要构建到 ./dist/ 文件下面
from wean.
我知道了………………有可能是 mac 的目录问题,emmm 我没有 mac 电脑,没法调试
from wean.
你的命令也不对 -e ./app.json -o ./dist/ 最后有个斜杠!!!! ./dist//////////////////////////////////////// 看到这个斜杠了吗
from wean.
我知道了………………有可能是 mac 的目录问题,emmm 我没有 mac 电脑,没法调试
使用windows,所有文件都正常构建到了dist目录下,但直接运行html文件,页面空白的,控制台报错。
from wean.
你的命令也不对 -e ./app.json -o ./dist/ 最后有个斜杠!!!! ./dist//////////////////////////////////////// 看到这个斜杠了吗
不加斜杠的也试过了,都跑到dist文件夹外
from wean.
图片打不开,你直接加我qq吧 1533540012,你这个太坑了,构建出来的 index.html 不能直接打开
localhost:1234
from wean.
from wean.
788102601
from wean.
Related Issues (11)
- css隔离 HOT 3
- npm init wepack可以正常拉取么? HOT 3
- 是否有对wx:else做处理 HOT 6
- 找不到命令:create-wepack HOT 7
- 删除掉 sdk
- 唔,我也没能跑成功,graph 没拿到子路由 HOT 5
- umd 支持 HOT 1
- 和uniapp 比优势是啥? HOT 3
- 一些限制 HOT 1
- 重构 js asset HOT 1
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 wean.