We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4564798 commit 290613dCopy full SHA for 290613d
1 file changed
src/ros_msg_utils/lib/message_cache.js
@@ -21,6 +21,9 @@ const fs = require('fs');
21
const path = require('path');
22
23
const CMAKE_PREFIX_PATH = process.env.CMAKE_PREFIX_PATH;
24
+if (!CMAKE_PREFIX_PATH) {
25
+ throw new Error('Unable to find CMAKE_PREFIX_PATH environment variable. Did you source setup.bash?')
26
+}
27
const cmakePaths = CMAKE_PREFIX_PATH.split(path.delimiter);
28
const jsMsgPath = path.join('share', 'gennodejs', 'ros');
29
0 commit comments