Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with yarn : Cannot find module: 'rich-markdown-editor'. Make sure this package is installed. #122

Closed
ThatIsAPseudo opened this issue Jun 10, 2021 · 0 comments

Comments

@ThatIsAPseudo
Copy link

Describe the bug
When building I get the error Cannot find module: 'rich-markdown-editor'. Make sure this package is installed.

Expected behavior
It builds correctly

Screenshots / Live demo link
I ran git clone https://github.com/JordanKnott/taskcafe && cd taskcafeand go run cmd/mage/main.go install without no issue, but then go run cmd/mage/main.go build gave me :

yarn run v1.22.10
$ react-scripts build
Creating an optimized production build...
Failed to compile.

./src/shared/components/TaskDetails/index.tsx
Cannot find module: 'rich-markdown-editor'. Make sure this package is installed.

You can install this package by running: yarn add rich-markdown-editor.


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: running "yarn --cwd frontend build" failed with exit code 1
exit status 1

screen

Additional context
I then tried to install rich-markdown-editor with yarn add rich-markdown-editor but it only got worse so I assume it was not the solution.

OS : macOS Big Sur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant