当我尝试使用nuxt运行生成脚本时,我的节点进程最终挂起了。
Nuxt经历了generate步骤,但是挂在我的控制台上,提示“ Generate errors summary”,然后什么也没有。
nuxt:render Rendering url / +5s
nuxt: Call generate:done hooks (1) +13ms
nuxt:generate HTML Files generated in 46.1s +14ms
Generate errors summary:
以前有人遇到过吗?
Package.json:
"dependencies": {
"contentful": "^6.1.1",
"contentful-management": "^5.1.4",
"nuxt": "^1.4.0",
"vue-markdown": "^2.2.4"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^3.15.0",
"eslint-config-standard": "^6.2.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-promise": "^3.4.1",
"eslint-plugin-standard": "^2.0.1"
}
答案 0 :(得分:1)
没有CSS加载器,添加了一个,一切正常。
Nuxt.js will automatically guess the file type by it's extension and use the
appropriate pre-processor loader for webpack. You will still need to install
the required loader if you need to use them.