Inferno: Error: Can't resolve './dist' in '/node_modules/inferno-redux'

Created on 29 Jun 2017  路  5Comments  路  Source: infernojs/inferno

I've just updated inferno-redux to the version 3.6.3 and now I'm getting the error Error: Can't resolve './dist' in '/node_modules/inferno-redux'. There is no such error with the version 3.6.1

bug

Most helpful comment

All 5 comments

I just have a same error after doing upgrades from:
"@types/node": "^6.0.51", "@types/redux": "^3.6.0", "source-map-loader": "^0.1.5", "ts-loader": "^1.3.0", global webpack 1.?.?
to:
"@types/node": "^8.0.7", "@types/redux": "^3.6.31", "source-map-loader": "^0.2.1", "ts-loader": "^2.2.1", "webpack": "^3.0.0"
with:
"inferno": "^3.0.6", "inferno-component": "^3.0.6", "inferno-hyperscript": "^3.0.6", "inferno-redux": "^3.1.0" - not true, read below

So might not be inferno-redux issue. Still no idea what to do with it.

However I have to say I have this issue only with inferno-redux, not any other inferno modules.

OK, I can confirm the issue is with inferno-redux 3.6.3 as this is what I actually I have installed with npm.
The dist directory contains only the index.d.ts file.

Thanks for specifying the issue @Anchakor I will make new release today

Was this page helpful?
0 / 5 - 0 ratings