-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
使用omi-cli创建的初始项目运行后报错 #316
Closed
ArleneShine opened this issue
May 7, 2019
· 1 comment
· May be fixed by 0c0c0f/omi#156, 0c0c0f/omi#157, 0c0c0f/omi#158, 0c0c0f/omi#159 or 0c0c0f/omi#160
Closed
使用omi-cli创建的初始项目运行后报错 #316
ArleneShine opened this issue
May 7, 2019
· 1 comment
· May be fixed by 0c0c0f/omi#156, 0c0c0f/omi#157, 0c0c0f/omi#158, 0c0c0f/omi#159 or 0c0c0f/omi#160
Comments
额~。我修复了。重新安装 omiu~~ 0.0.17。多谢~~ |
This was referenced Aug 2, 2022
This was referenced Nov 4, 2022
This was referenced Dec 25, 2022
This was referenced Feb 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用omi-cli初始化项目后,运行"npm start"启动项目,发现/src/elements/app/index.js文件报错:
“Module not found: Can't resolve 'omiu/button' in 'F:\test\my-app\src\elements\app'”
将
import "omiu/button"
改为import "omiu/src/button"
才不会报错。看了一下node_modules里omiu包的内容,没有dist文件夹,感觉是omiu没有编译的问题(使用的omiu的版本号是@0.0.16)The text was updated successfully, but these errors were encountered: