Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.
docker-compose up -d to start the comtainers. The composer container only runs to deploy the packages then ends. The webapp container remains and should run my web app. This is sat behind an NGinx proxy for SSL certs and routing.
Expected result: Running web app with the Selectize.js component available for use.
Actual result: The following error appears in the composer container's log:
,
In RootPackageLoader.php line 162:,
,
require.@selectize/selectize is invalid, it should have a vendor name, a fo ,
rward slash, and a package name. The vendor and package name can be words s ,
eparated by -, . or . The complete name should match "^[a-z0-9]([.-]?[a-z ,
0-9]+)/a-z0-9$". ,
,
,
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...],
,
If I try to use the cdnjs scripts instead, I get a permission error, but would prefer to use NPM, as I have other modules that install via this method without issue.
I did:
Adding Selectize.js to an existing Docker container config, to add this feature to a data entry form. Errors with the
Composer
container.Steps to reproduce:
docker-compose up -d
to start the comtainers. Thecomposer
container only runs to deploy the packages then ends. The webapp container remains and should run my web app. This is sat behind an NGinx proxy for SSL certs and routing.Expected result: Running web app with the Selectize.js component available for use.
Actual result: The following error appears in the
composer
container's log:If I try to use the cdnjs scripts instead, I get a permission error, but would prefer to use NPM, as I have other modules that install via this method without issue.