D:Viewers-masterOHIFViewer>meteor build --directory d:/h2zViewer
C:Usersh2zAppDataLocal.meteorpackagesmeteor-tool1.5.0mt-os.windows.x86_
32dev_bundlelib
ode_modulesmeteor-promisepromise_server.js:218
throw error;
^
Error: ENOTEMPTY: directory not empty, rmdir 'C:Usersh2zAppDataLocalTemp.t
mpw7wh5klaze-html-templates-1.1.2'
at Error (native)
at Object.fs.rmdirSync (fs.js:758:18)
at rmkidsSync (C:Usersh2zAppDataLocal.meteorpackagesmeteor-tool1.5.0
mt-os.windows.x86_32dev_bundlelib
ode_modules
imraf
imraf.js:332:11)
at rmdirSync (C:Usersh2zAppDataLocal.meteorpackagesmeteor-tool1.5.0
mt-os.windows.x86_32dev_bundlelib
ode_modules
imraf
imraf.js:322:7)
at Function.rimrafSync [as sync] (C:Usersh2zAppDataLocal.meteorpackage
smeteor-tool1.5.0mt-os.windows.x86_32dev_bundlelib
ode_modules
imraf
imr
af.js:293:9)
at Object.rm_recursive (C: oolsfsfiles.js:303:12)
方法:
删除 C:Usersh2zAppDataLocalTemp 目录下的所有文件 然后再运行meteor build --directory d:/h2zViewer