https://pantsbuild.org/ logo
#general
Title
# general
c

chilly-planet-38178

07/02/2017, 9:09 AM
I have a problem with https://github.com/pantsbuild/pants/tree/master/contrib/node and node_remote_module. I'm trying to take node-sass into use in my project but pants fails running the node-sass installation script:
Copy code
Error: Cannot find module '/data/.pants.d/resolve/node/252d64521cf9/projects.node.frontend.react-frp-todomvc.react-frp-todomvc/ff8cd7631233/node_modules/node-sass/scripts/install.js'
   at Function.Module._resolveFilename (module.js:469:15)
   at Function.Module._load (module.js:417:25)
   at Module.runMain (module.js:604:10)
   at run (bootstrap_node.js:393:7)
   at startup (bootstrap_node.js:150:9)
   at bootstrap_node.js:508:3

> node-sass@4.5.3 install /data/.pants.d/resolve/node/252d64521cf9/projects.node.frontend.react-frp-todomvc.react-frp-todomvc/ff8cd7631233/node_modules/node-sass
> node scripts/install.js
I do have node installed in my docker container where that was run, so I'm guesssing it's using it instead of the bundled one. Any ideas?