Skip to content
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

dev:demo 运行报错 #30

Closed
hkc452 opened this issue Oct 21, 2020 · 1 comment
Closed

dev:demo 运行报错 #30

hkc452 opened this issue Oct 21, 2020 · 1 comment

Comments

@hkc452
Copy link

hkc452 commented Oct 21, 2020

/mnt/d/oode/ovine/packages/core/lib/styled/theme.js
Module not found: Can't resolve '@generated/styles/themes' in '/mnt/d/oode/ovine/packages/core/lib/styled'
/mnt/d/oode/ovine/website/example/node_modules/@ovine/cli/lib/webpack/base.js:434
var themes = cssAssets.map(function (i) { return "" + publicPath + i; });
^

TypeError: cssAssets.map is not a function
at getThemeScript (/mnt/d/oode/ovine/website/example/node_modules/@ovine/cli/lib/webpack/base.js:434:28)
at getThemeScript (/mnt/d/oode/ovine/website/example/node_modules/@ovine/cli/lib/webpack/base.js:363:62)
at /mnt/d/oode/ovine/website/example/node_modules/@ovine/cli/lib/webpack/plugins/html_hooks_plugin.js:40:11
at Immediate. (/mnt/d/oode/ovine/node_modules/memory-fs/lib/MemoryFileSystem.js:309:4)
at processImmediate (internal/timers.js:456:21)
error Command failed with exit code 1.

@hkc452 hkc452 changed the title dev:de mo 运行报错 dev:demo 运行报错 Oct 21, 2020
@jinmingpang
Copy link
Member

先看下这个吧 开发者指南

yarn dev:demo 这个命令我也没有用过。因为不常用,有问题也没有注意。而且现在项目变大以后,有些命令确实有点繁琐,命令后期这块我要整理一下,入手起来,方便一点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants