Interact.js: 1.10.9 breaks "interactjs": "^1.10.3"

Created on 31 Mar 2021  路  10Comments  路  Source: taye/interact.js

Expected behavior

With "interactjs": "^1.10.3", in package.json, the package can be installed with later minor and patch version updates.

Actual behavior

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.

System configuration

interact.js version: 1.10.9 with "interactjs": "^1.10.3"
Browser name and version: N/A
Operating System: N/A

Most helpful comment

New issue resolved in v1.10.11

All 10 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

max-mykhailenko picture max-mykhailenko  路  5Comments

jbaartman picture jbaartman  路  4Comments

gossi picture gossi  路  5Comments

rbozan picture rbozan  路  9Comments

aoloe picture aoloe  路  8Comments