Instantsearch.js: Laravel 5.4 module not found - Getting React errors in console

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

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

Bug: What is the current behavior?
I have installed instantsearch via npm.
I am importing it like this:
window.instantsearch = require('instantsearch.js');

When I run npm run dev I am getting the following error:
This relative module was not found:
* ./src/lib/main.js in ./~/instantsearch.js/dist-es5-module/index.js

Any ideas why is this happening?

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

Bug

Most helpful comment

fixed in v.1.11.11

All 4 comments

Ah, I think I found what the issue is, related to #2150

fixed in v.1.11.11

Do you get an error in the console, but it still works, with 1.11.11 @object505, if so, please reopen this issue.

@Haroenv Yes, I am getting this error:
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

egyprotech picture egyprotech  路  3Comments

nicosrugeris picture nicosrugeris  路  3Comments

jvreeken picture jvreeken  路  3Comments

francoischalifour picture francoischalifour  路  3Comments

anthonyBertrant picture anthonyBertrant  路  3Comments