don't output resource error, Fix https://github.com/spmjs/spm/issues/1004