D:\Viewers-master\OHIFViewer>meteor build --directory d:/h2zViewer
C:\Users\h2z\AppData\Local\.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_
32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
throw error;
^

Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\h2z\AppData\Local\Temp\.t
mpw7wh5k\blaze-html-templates-1.1.2'
at Error (native)
at Object.fs.rmdirSync (fs.js:758:18)
at rmkidsSync (C:\Users\h2z\AppData\Local\.meteor\packages\meteor-tool\1.5.0
\mt-os.windows.x86_32\dev_bundle\lib\node_modules\rimraf\rimraf.js:332:11)
at rmdirSync (C:\Users\h2z\AppData\Local\.meteor\packages\meteor-tool\1.5.0\
mt-os.windows.x86_32\dev_bundle\lib\node_modules\rimraf\rimraf.js:322:7)
at Function.rimrafSync [as sync] (C:\Users\h2z\AppData\Local\.meteor\package
s\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle\lib\node_modules\rimraf\rimr
af.js:293:9)
at Object.rm_recursive (C:\tools\fs\files.js:303:12)

方法:

删除 C:\Users\h2z\AppData\Local\Temp 目录下的所有文件 然后再运行meteor build --directory d:/h2zViewer

05-25 18:51