dropbox / rules_node

Node rules for Bazel (unsupported)
Apache License 2.0
52 stars 16 forks source link

Webpak Build Error #16

Open rwatts3 opened 5 years ago

rwatts3 commented 5 years ago
File "c:\users\rwatts\appdata\local\temp\Bazel.runfiles_s8dqke\runfiles\org_dropbox_rules_node\node\tools\npm\runfiles.py", line 18, in _get_runfiles_dir
    raise RunfilesError('Must be run in Bazel environment')
node.tools.npm.runfiles.RunfilesError: Must be run in Bazel environment
Target //:bundle failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 4.455s, Critical Path: 0.84s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
samertm commented 5 years ago

Can you share what your BUILD file? I think the problem is similar to #4. The workaround is probably to put everything in a subfolder and see if that works, but I'll try to find the time to dig into this.