You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running npm install fails with an error complaining that node module crypto-js/aes cannot be found.
As a consequence, building the docker image fails as well.
Additional information
I could verify that multiple versions of crypto-js have been installed:
I further verified, that both parse-server and Parse-SDK-JS can be built from source.
Temporary workaround
Running npm dedupe will fix the problem, but I consider this only a temporary workaround. To work on this project, following the instructions in CONTRIBUTING.md, a simple npm install should just work.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
You're runningbuilding version >=1.0.23 of Parse Dashboard. (trying to build master revision, i.e. f04d507 )
You're running version >=2.3.2 of Parse Server. (does not apply; this is a build time issue, not a runtime issue)
You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Hitting the same issue and tried @djlauk workaround and it worked. I think the reason it worked is because npm dedupe seems to bring crypto-js dependency to the top of the node_modules directory hierarchy and then webpack can find it.
So for instance, if I instead change the webpack configuration file from
it also works as well since the current configuration seems to limit the module resolution to the parent node_modules directories and not to the children (the dependencies node_modules directories), and crypto-js dependency seems to be located in the node_modules directory of the parse dependency.
I am not suggesting we apply this change since I am not a webpack expert (started understanding it recently). I am only contributing with this observation so that someone else can decide what is the better fix for this issue.
Running
npm install
fails with an error complaining that node modulecrypto-js/aes
cannot be found.As a consequence, building the docker image fails as well.
Additional information
I could verify that multiple versions of
crypto-js
have been installed:I further verified, that both
parse-server
andParse-SDK-JS
can be built from source.Temporary workaround
Running
npm dedupe
will fix the problem, but I consider this only a temporary workaround. To work on this project, following the instructions inCONTRIBUTING.md
, a simplenpm install
should just work.Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
You're
runningbuilding version >=1.0.23 of Parse Dashboard.(trying to build master revision, i.e. f04d507 )
You're running version >=2.3.2 of Parse Server.(does not apply; this is a build time issue, not a runtime issue)
You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
Steps to reproduce
git clone https://github.com/ParsePlatform/parse-dashboard
npm install
Logs/Trace
See attached out.log for the full output of stderr and stout combined. Here's the interesting part:
The text was updated successfully, but these errors were encountered: