witty-crayon-22786
06/29/2017, 8:40 PMwitty-crayon-22786
06/29/2017, 8:41 PMlimited-memory-65960
06/30/2017, 8:52 AMlimited-memory-65960
06/30/2017, 8:53 AMhappy-kitchen-89482
06/30/2017, 8:53 PMhappy-kitchen-89482
06/30/2017, 8:53 PMrough-dog-96241
06/30/2017, 11:23 PMrough-minister-58256
06/30/2017, 11:30 PMrough-minister-58256
06/30/2017, 11:30 PMrough-minister-58256
06/30/2017, 11:32 PMrough-dog-96241
06/30/2017, 11:35 PMchilly-planet-38178
07/02/2017, 9:09 AMError: 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?chilly-planet-38178
07/02/2017, 3:01 PM83143 verbose lifecycle node-sass@4.5.3~install: unsafe-perm in lifecycle false
83144 verbose lifecycle node-sass@4.5.3~install: PATH: /data/.cache/bin/node/linux/x86_64/v6.10.2/node/lib/node_modules/npm/bin/node-gyp-bin:/data/.pants.d/resolve/node/252d64521cf9/projects.node.frontend.react-frp-todomvc.react-frp-todomvc/7f272772437a/node_modules/node-sass/node_modules/.bin:/data/.pants.d/resolve/node/252d64521cf9/projects.node.frontend.react-frp-todomvc.react-frp-todomvc/7f272772437a/node_modules/.bin:/data/.cache/bin/node/linux/x86_64/v6.10.2/node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
83145 verbose lifecycle node-sass@4.5.3~install: CWD: /data/.pants.d/resolve/node/252d64521cf9/projects.node.frontend.react-frp-todomvc.react-frp-todomvc/7f272772437a/node_modules/node-sass
83146 silly lifecycle node-sass@4.5.3~install: Args: [ '-c', 'node scripts/install.js' ]
83147 silly lifecycle node-sass@4.5.3~install: Returned: code: 1 signal: null
83148 info lifecycle node-sass@4.5.3~install: Failed to exec install script
chilly-planet-38178
07/02/2017, 3:05 PMchilly-planet-38178
07/02/2017, 3:09 PMunsafe-perm=true
and included that in my BUILD file.chilly-planet-38178
07/03/2017, 6:58 AMpants run
it builds my app into ~/.pants.d/resolve/node/current/...
and starts it from there. Now when I edit code in my project the changes are of course not hot reloaded because it's a different copy of the project.
So my question is that is there a way to tell `pants run`to use a certain directory for running, rather than building the app into pants.d and starting it from there?enough-analyst-54434
07/03/2017, 2:36 PMchilly-planet-38178
07/03/2017, 5:29 PMgreat-midnight-1044
07/04/2017, 1:41 PMstraight-waiter-86090
07/05/2017, 2:40 PMfast-nail-55400
07/05/2017, 4:16 PMrequirements.txt
and, for example, the pants requirement for requests>=2.5.0,<2.6
conflicts with our repo's requirement of later version of requests
fast-nail-55400
07/05/2017, 4:17 PMwide-energy-11069
07/05/2017, 5:10 PMwide-energy-11069
07/05/2017, 5:10 PM$ cat 3rdparty/python/BUILD
python_requirements('requirements.txt')
fast-nail-55400
07/05/2017, 5:46 PM3rdparty/python/BUILD
?fast-nail-55400
07/05/2017, 5:47 PMpython_requirements()
as the contentswide-energy-11069
07/05/2017, 5:48 PM3rdparty/another_python/BUILD
wide-energy-11069
07/05/2017, 5:48 PM3rdparty/another_python:requests
with a different request versionwide-energy-11069
07/05/2017, 5:49 PMfast-nail-55400
07/05/2017, 6:04 PMrequests
to be this alternate set of targets, and set our main requirements.txt to have requests match the pants requirement