Instantsearch.js: No CSS when installed with NPM since 1.11.9

Created on 30 May 2017  路  4Comments  路  Source: algolia/instantsearch.js

Do you want to request a feature or report a bug?
bug

Bug: What is the current behavior?
On install with NPM聽as a dependency, dist/instantsearch.css contains only this :

/*! instantsearch.js UNRELEASED | 漏 Algolia Inc. and other contributors; Licensed MIT | github.com/algolia/instantsearch.js */

It seems to happen since v1.11.9 (940d635789deac6b197d8bc7e93b6c0fa6d6ad1f) wich removed src/css/.

What is the version you are using? Always use the latest one before opening a bug issue.
v1.11.11

Bug

All 4 comments

Thanks @cmalard for the report. Will look into that one :)

cc @iam4x Can we fix this for the v1.x track? This is breaking change for user loading the CSS if still present (and will also fail on cdn.jsdelivr.net/npm..)

CSS files are in the /dist folder with the correct content:

image

Can you try again with:

rm -rf node_modules/instantsearch.js && npm i instantsearch.js@^1.11.12

I can confirm that the bug is fixed with latest version, it was present in the version ranges you specified @cmalard.

Thank's @bobylito for the new version publish.

Was this page helpful?
0 / 5 - 0 ratings