๋ฐ๋ฆฌ๊ทธ๋จ: 1.1.0
๊ธฐํ(์: normalize.css, node.js, npm, bower, ๋ธ๋ผ์ฐ์ , ์ด์ ์ฒด์ )(ํด๋น๋๋ ๊ฒฝ์ฐ):
"์ข
์์ฑ": {
"normalize.css": "์ต์ "
},
"devDependencies": {
"์๋ ์ ๋์ฌ": "^6.3.6",
"backstopjs": "^1.3.5",
"๋ธ๋ผ์ฐ์ ๋๊ธฐํ": "^2.13.0",
"node-sass": "^3.7.0",
"npm-run-all": "^2.1.1",
"onchange": "^2.4.0",
"postcss-cli": "^2.5.2",
"sass-lint": "^1.8.2"
}
Windows 10, ๋ ธ๋ v6.5.0, npm 3.10.3
npm run build
๋น๋๊ฐ ์ฑ๊ณตํ์ต๋๋ค.
๋ค์ ์ค๋ฅ:
postcss -u autoprefixer --no-map.inline --autoprefixer.browsers 'last 1 versions' -r dist/*.css
[์์คํ
๊ฒฝ๋ก]\milligram\node_modules\minimatch\minimatch.js:108
throw new TypeError('glob ํจํด ๋ฌธ์์ด ํ์')
^^
TypeError: glob ํจํด ๋ฌธ์์ด์ด ํ์ํฉ๋๋ค.
์๋ก์ด Minimatch์์ ([system_path]\milligram\node_modules\minimatch\minimatch.js:108:11)
setopts์์ ([system_path]\milligram\node_modules\postcss-cli\node_modules\glob\common.js:112:20)
์ GlobSync์์ ([system_path]\milligram\node_modules\postcss-cli\node_modules\glob\sync.js:38:3)
Function.globSync ์์ ๋๊ธฐํ๋ก
[์์คํ
๊ฒฝ๋ก]\milligram\node_modules\postcss-cli\node_modules\globby\index.js:55:35
Array.reduce์์(๋ค์ดํฐ๋ธ)
Function.module.exports.sync์์ ([system_path]\milligram\node_modules\postcss-cli\node_modules\globby\index.js:54:19)
๊ฐ์ฒด์์.
Module._compile์์ (module.js:556:32)
Object.Module._extensions..js์์ (module.js:565:10)
์๋ ํ์ธ์ @luisaceituno
๋๋ ๋จ์ง ๋ฒ์ ์ ์ ๋ฐ์ดํธํฉ๋๋ค. ํ ๋ฒ ๋ ์๋ํด ์ฃผ์๊ฒ ์ต๋๊น?
1.2.0
๋ฒ์ ๋ฐ 6.9.1
๋
ธ๋์์ npm 3.10.9
๋์ผํ ์ค๋ฅ๊ฐ ์์ต๋๋ค.
autoprefixer๋ฅผ ์ ์ญ์ ์ผ๋ก ์ค์นํ ํ์๋ ์ฌ์ ํ ์์ ์ค๋ฅ๊ฐ ์์ต๋๋ค. ๋ฐ banner
์๋ ๋ค์ ์ค๋ฅ๊ฐ ์์ต๋๋ค.
> [email protected] banner G:\Github\FinalProject\milligram
> for m in dist/*.css; do echo '/*!
* Milligram v1.2.0
* http://milligram.github.io
*
* Copyright (c) 2016 CJ Patoilo
* Licensed under the MIT license
*/
' | cat - $m > temp && mv temp $m; done
m was unexpected at this time.
.
.
.
์๋ ํ์ธ์ @mmdsharifi
๋ฐ๋ผ์ Milligram์ ๋น๋ ์์คํ
์ npm ์คํฌ๋ฆฝํธ๋ฅผ ์ฌ์ฉํฉ๋๋ค. ์ ์ญ ์ข
์์ฑ์ ์ค์นํ ํ์๊ฐ ์์ต๋๋ค. ์ต์ ๋ฒ์ ์ Node๋ง ์ค์นํ๊ณ npm start
๋๋ npm install
๋ฉ๋๋ค.
๋ค๋ฅธ ๊ฒ์ด ํ์ํ๋ฉด ์๋ ค์ฃผ์ญ์์ค.
@luisaceituno @mmdsharifi ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด ๋
ธ๋ ฅํ๊ณ ์์ต๋๋ค. Windows ํ๊ฒฝ์์ ๋น๋ํ ์ ์๋๋ก AppVeyor ์๋น์ค๋ฅผ ์ถ๊ฐํ์ต๋๋ค. ํ๋ก์ฐํ๋ ค๋ฉด ๋ค์ ๋งํฌ์ ์ก์ธ์คํ์ธ์.
https://ci.appveyor.com/project/cjpatoilo/milligram
@luisaceituno @mmdsharifi
์ ๋์ฌ ์์ ์์ ์์๋ฐ์ดํ๋ก ์ธํด ๋ฐ์ํ๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ต๋๋ค. ์ด์ ์์ ๋ฐฐ๋์ ์ค๋ฅ๊ฐ ์์ต๋๋ค. ์์ฝํ๋ฉด ์ด ๋ฌธ์ ๋ Windows ๋ฐ MacOS/Linux ํ๊ฒฝ์์ ์ ์คํฌ๋ฆฝํธ ๋ช ๋ น์ ๋ณํ์ ๊ดํ ๊ฒ ์ ๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด Node.js๋ก ์์ฑ๋ ๋ชจ๋์ ๋ง๋ค์์ง๋ง ์์ ํ ์๊ฐ์ด ๋ ํ์ํฉ๋๋ค.
์ด๋ค ์์ผ๋ก๋ ๋์ธ ์ ์๋ค๋ฉด .. ์ฌ๊ธฐ ๋งํฌ๊ฐ ์์ต๋๋ค: https://github.com/cjpatoilo/banner-cli
@luisaceituno @mmdsharif ์ด ๋ฌธ์ ๋ฅผ ๋ณด๊ณ ํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ๋ฐฉ๊ธ ๋ ธ๋์ ์ง์์ ํ์ฅํ์ต๋๋ค. ๋ชจ๋ ๊ฒ์ด ์ ์๋ํฉ๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ์ข ๋ฃํ์ง๋ง ํ์ํ ๊ฒฝ์ฐ ๊ณ์ ์ฐ๋ฝํด ์ฃผ์๊ธฐ ๋ฐ๋๋๋ค.
Windows ํ๊ฒฝ: https://ci.appveyor.com/project/cjpatoilo/milligram