PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, July 14, 2022

[FIXED] what is wrong with deploy heroku strapi app

 July 14, 2022     heroku, strapi, web-deployment     No comments   

Issue

I am trying to deploy strapi app with mongoose connector but getting this error.

Error: Module not found: Error: Can't resolve './DropdownIndicator' in '/tmp/build_754325e2_/.cache/admin/src/components/Roles/ConditionsSelect' at /tmp/build_754325e2_/node_modules/strapi-admin/index.js:70:23 at finalCallback (/tmp/build_754325e2_/node_modules/webpack/lib/Compiler.js:257:39) at onCompiled (/tmp/build_754325e2_/node_modules/webpack/lib/Compiler.js:265:20) at /tmp/build_754325e2_/node_modules/webpack/lib/Compiler.js:670:21 at eval (eval at create (/tmp/build_754325e2_/node_modules/tapable/lib/HookCodeFactory.js:33:10), :28:1)

can anybody help?


Solution

Try deleting your cache folder then npm run build then push to heroku.



Answered By - Muhammad Ahmod
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing