I'm trying to use crypto-js import * as CryptoJS from 'crypto-js' but got this error:
Error: The following problems where detected while resolving modules: · Missing dependency ':ERROR:Missing version constraints for actualizar-perfil$crypto in package.json of actualizar-perfil$crypto-js@4.0.0' of 'actualizar-perfil$crypto-js@4.0.0/core'
I'm trying to use crypto-js
import * as CryptoJS from 'crypto-js'
but got this error:Error: The following problems where detected while resolving modules: · Missing dependency ':ERROR:Missing version constraints for actualizar-perfil$crypto in package.json of actualizar-perfil$crypto-js@4.0.0' of 'actualizar-perfil$crypto-js@4.0.0/core'
Dependency is listed in package.json file:
Inspecting liferay-npm-bundler-report.html I found this warn:
Post-phase plugin inject-peer-dependencies {} WARN
Failed to resolve dependency actualizar-perfil$crypto with error: Error Cannot find module 'crypto/package.json' from '.\node_modules\crypto-js'