still cannot work
时间: 2024-04-23 16:28:39 浏览: 185
回答: 根据你提供的引用内容,你在运行yarn时遇到了一个错误。错误信息显示找不到模块'项目名/node_modules/coa/compile.js'。\[1\]为了解决这个问题,你可以按照以下步骤进行操作:首先,进入项目目录并创建一个名为build的文件夹。然后,进入build文件夹并运行以下命令:cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang` -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON。\[2\]如果你仍然无法解决问题,你可以尝试在CMakeLists.txt文件中添加以下代码来确保最终的可执行文件具有导出的符号:set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic") find_program (OBJCOPY_PATH NAMES "llvm-objcopy" "llvm-objcopy-10" "llvm-objcopy-9" "llvm-objcopy-8" "objcopy" PATHS "/usr/local/Cellar/binutils/2.36.1/bin/")。\[3\]希望这些步骤能帮助你解决问题。
#### 引用[.reference_title]
- *1* [Cannot find module coa/compile.js](https://blog.csdn.net/CamilleZJ/article/details/121382449)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Mac 安装 ClickHouse 报错: Mac 10.15.4: Cannot find objcopy](https://blog.csdn.net/universsky2015/article/details/118021660)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文