React-admin: Can't resolve 'ra-core' in 'ra-input-rich-text'

Created on 22 Jan 2019  路  1Comment  路  Source: marmelab/react-admin

What you were expecting:

Compiling files to produce a successful production build.

What happened instead:

I get this error at compilation:

Failed to compile

./node_modules/ra-input-rich-text/esm/index.js
Module not found: Can't resolve 'ra-core' in '<path>/node_modules/ra-input-rich-text/esm'

Other information:

The compilation was successful with v2.6.1

Environment

  • React-admin version: v2.6.2
  • Last version that did not exhibit the issue (if applicable): v2.6.1
  • React version: 16.7.0
  • React-scripts version: 2.1.3

Most helpful comment

Same as #2800.

Some modules in node_modules were outdated, and running npm install|update didn't update them.
Deleting file package-lock.json and running npm install to generate a new one solved the problem.

>All comments

Same as #2800.

Some modules in node_modules were outdated, and running npm install|update didn't update them.
Deleting file package-lock.json and running npm install to generate a new one solved the problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicgirault picture nicgirault  路  3Comments

waynebloss picture waynebloss  路  3Comments

pixelscripter picture pixelscripter  路  3Comments

Kmaschta picture Kmaschta  路  3Comments

ilaif picture ilaif  路  3Comments