Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

cooking初始化weex项目以后, $npm run dev运行失败 #155

Open
HuazhuLi opened this issue Mar 2, 2017 · 0 comments
Open

cooking初始化weex项目以后, $npm run dev运行失败 #155

HuazhuLi opened this issue Mar 2, 2017 · 0 comments

Comments

@HuazhuLi
Copy link

HuazhuLi commented Mar 2, 2017

cooking version

1.5.0

What is Expected?

What is actually happening?

[[email protected]] - Failed to read the config.
[[email protected]] - TypeError: str.indexOf is not a function
at wrapComment (/home/huazhu/my-project/node_modules/webpack/lib/BannerPlugin.js:9:9)
at new BannerPlugin (/home/huazhu/my-project/node_modules/webpack/lib/BannerPlugin.js:15:44)
at module.exports (/home/huazhu/my-project/config/base.js:29:32)
at Object. (/home/huazhu/my-project/cooking.conf.js:5:11)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at module.exports (/usr/lib/node_modules/cooking-cli/node_modules/cooking/util/load-config.js:18:14)
at program.config.forEach.config (/usr/lib/node_modules/cooking-cli/node_modules/cooking/bin/cooking-watch:26:12)
at Array.forEach (native)
at Object. (/usr/lib/node_modules/cooking-cli/node_modules/cooking/bin/cooking-watch:25:16)
at Module._compile (module.js:571:32)

@HuazhuLi HuazhuLi changed the title 运行cooking初始化以后的weex项目失败$npm run dev cooking初始化weex项目以后, $npm run dev运行 Mar 2, 2017
@HuazhuLi HuazhuLi changed the title cooking初始化weex项目以后, $npm run dev运行 cooking初始化weex项目以后, $npm run dev运行失败 Mar 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant