```
jianguo@jianguodeMacBook-Pro-2 harmonyflutter % flutter build hap
start hap build...
Compiling ohos_aot_bundle_release_ohos-arm64 for the Ohos... 1,449ms
copy flutter assets to project start
copy directory from /Users/jianguo/Desktop/teaching/harmonyflutter/build/ohos/flutter_assets to
/Users/jianguo/Desktop/teaching/harmonyflutter/ohos/entry/src/main/resources/rawfile/flutter_assets
copy flutter assets to project end
copy flutter runtime to project start
copy from: /Users/jianguo/huawei/flutter_flutter/bin/cache/artifacts/engine/ohos-arm64-release/flutter.har to
/Users/jianguo/Desktop/teaching/harmonyflutter/ohos/har/flutter.har
copy flutter runtime to project end
ohpm WARN: local dependency "@ohos/flutter_ohos" found in
"/Users/jianguo/Desktop/teaching/harmonyflutter/ohos/oh-package.json5" does not match the actual name "flutter" of its
oh-package.json5
ohpm INFO: remove useless folder succeed:
"/Users/jianguo/Desktop/teaching/harmonyflutter/ohos/oh_modules/.ohpm/@ohos+flutter_ohos@3a8wss7erigmz+t6nntx0yxm5oi=/oh_modul
es/@ohos/flutter_ohos.1720867177585.ohpm-delete"
install completed in 0s 260ms
ohpm install success.
ohpm WARN: local dependency "@ohos/flutter_ohos" found in
"/Users/jianguo/Desktop/teaching/harmonyflutter/ohos/oh-package.json5" does not match the actual name "flutter" of its
oh-package.json5
install completed in 0s 23ms
ohpm install success.
[2024-07-13 18:39:38]ERROR: NODE_HOME is set to an invalid directory,check /usr/local/bin/node
Please set NODE_HOME in your environment to the location where your nodejs installed
error! when invoke: hvigorw assembleHap --no-daemon ,exitCode = 1.
assembleHap error! please check log.
```