vue items packaged emerging issues (Daily Record)

1、

 

Began under a light saw no look above, has been entangled .catch () problem, looking for a long time did not find, Baidu is no, then a classmate looked at me, he said, is your css problem, first He says the line. Then I looked at css configuration webpack piece, no problem, then looked at the components inside the css, that is, did not write the whole, lang = "scss", after all make good on it, I use sass sass with specific scss What is the relationship, which view the document itself has a description, even if you do not use the sass, but you wrote lang inside is blank when the error will, therefore, pay attention to the future! ! ! ! !

2、

if (err) throw err

operation not permitted, unlink 'D:\pyy\test\dy-project\dist\static\img'

This is an error when packaged, and then after a while, after the packaged emptied, and repack it. He checked that the rights issue and is going to be occupied with this error.

Guess you like

Origin www.cnblogs.com/yuanyuanya/p/11571535.html