With "interactjs": "^1.10.3", in package.json, the package can be installed with later minor and patch version updates.
As of today and version 1.10.9, npm install generates the following error:
[19:23:09][React] Failed to compile.
[19:23:09][React]
[19:23:09][React] ./node_modules/interactjs/index.js
[19:23:09][React] Cannot find module: '../@interactjs/interactjs/index.stub.js'. Make sure this package is installed.
[19:23:09][React]
[19:23:09][React] You can install this package by running: npm install ../@interactjs/interactjs/index.stub.js.
Since this wasn't a major version bump, I wouldn't expect breaking changes requiring another package to be installed.
interact.js version: 1.10.9 with "interactjs": "^1.10.3"
Browser name and version: N/A
Operating System: N/A
Same issue in angular
import {Interactable} from '@interactjs/core/Interactable';
Error: ./node_modules/interactjs/index.js
Module not found: Error: Can't resolve '../@interactjs/interactjs/index.stub.js' in '<path>\node_modules\interactjs'
I also encountered this problem. The v1.10.8 version does not have this problem.
I also get this error in react. Any workaround for this?
Should be fixed in v1.10.10
tested now with 1.10.10 and I get
Error: ./node_modules/interactjs/index.js
Module not found: Error: Can't resolve '../@interactjs/interactjs
/index.js' in '<path>\node_modules\interactjs'
I think v1.10.10 is not yet published (https://www.npmjs.com/package/interactjs).
It looks published to me at the moment. I get the same error as @tiberiuzuld with 1.10.10
I also get the same error as @tiberiuzuld with 1.10.10.
New issue resolved in v1.10.11
Works for me with v1.10.11
Most helpful comment
New issue resolved in
v1.10.11