You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a module i'm developing that depends on boost and I'm to get this working.
It works fine when i run npm install from the root of the directory itself. But when i actually push the module to github and npm install this module from another project the install script fails because it can't find the boost-lib directory anywhere. These seems to be because the node_modules directory is not available at the time npm runs the install script.
The error CMake gives when i try to npm install the module from another project:
CMake Error at CMakeLists.txt:22 (list):
list GET given empty list
CMake Error at CMakeLists.txt:25 (include):
include could not find load file:
BoostLib
CMake Error at CMakeLists.txt:26 (require_boost_libs):
Unknown CMake command "require_boost_libs".
The result of running ls node_modules at the time the module's npm install script gets called:
ls: node_modules: No such file or directory
Not sure where i should be looking for boost-lib if there's no node_modules directory yet. Thoughts?
The text was updated successfully, but these errors were encountered:
I have a module i'm developing that depends on boost and I'm to get this working.
It works fine when i run
npm install
from the root of the directory itself. But when i actually push the module to github and npm install this module from another project the install script fails because it can't find the boost-lib directory anywhere. These seems to be because the node_modules directory is not available at the time npm runs the install script.Here is the relevant bit of my CMakeLists.txt:
The package.json of the module itself has the following:
The error CMake gives when i try to npm install the module from another project:
The result of running
ls node_modules
at the time the module's npm install script gets called:Not sure where i should be looking for boost-lib if there's no node_modules directory yet. Thoughts?
The text was updated successfully, but these errors were encountered: