Select2 pattern not showing options for anonymous users

Update: I was able to generate a plone-compile-resources script by reading the zc.recipe.egg documentation and adding the following in my buildout:

parts =
    instance
    repozo
    backup
    zopepy
    unifiedinstaller
    precompiler
    setpermissions
    plone-compile-resources

...

[plone-compile-resources]
recipe = zc.recipe.egg:scripts
eggs = plone.staticresources
#interpreter = zopepy
entry-points = plone-compile-resources=plone.staticresources._scripts.compile_resources:main

running the script resulted in a traceback

(zinstance) administrator@kallisti:/usr/local/Plone52/zinstance$ sudo -u plone_buildout ./bin/plone-compile-resources -b plone 
Setup npm env
Running command: npm install
Traceback (most recent call last):
  File "./bin/plone-compile-resources", line 102, in <module>
    sys.exit(plone.staticresources._scripts.compile_resources.main())
  File "/usr/local/Plone52/zinstance/src/plone.staticresources/src/plone/staticresources/_scripts/compile_resources.py", line 140, in main
    subprocess.check_call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 536, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 523, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I am now running yarn upgrade - will report on progress if any...