React module error: Cannot find module './recorder.js'
See original GitHub issueDescribe the bug
Cannot serve React project. Get error: Error: Cannot find module './recorder.js' from '/usr/local/src/node_modules/aws-amplify-react/dist/Interactions'
To Reproduce Steps to reproduce the behavior:
- Add
aws-amplify
andaws-amplify-react
to project dependencies - Configure amplify for project
- Add imports and call to
Amplify.configure(awsmobile)
for app - Attempt to build and serve
- Get server error above
Expected behavior Project should serve without error.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu
- Browser: Chrome
- Version:
aws-amplify
1.1.19aws-amplify-react
2.3.0
Additional context
When voice interactions were added, they included a reference here to a non-extant recorder.js
file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
"Uncaught Error: Cannot find module 'react'" keeps showing
This solved the issue for me. Open up the terminal and type in yarn add typescript --dev. if using npm type in npm...
Read more >recorder-js - npm
Record audio in your browser. Latest version: 1.0.7, last published: 6 years ago. Start using recorder-js in your project by running `npm i ......
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
To fix the error, you need to install the package that is absent in your project directory – npm install package-name or yarn...
Read more >Module not found: Can't resolve 'styled-components'
To solve the error "Module not found: Error: Can't resolve 'styled-components'", make sure to install the styled-components package by opening your terminal in ......
Read more >Cannot find module '...' node:internal/modules/cjs/loader:936
The presence of the & caused npm to not be able to navigate into the React app's root directory and therefore was throwing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Anything that imports
aws-amplify-react/src/Interactions/aws-lex-audio.js
would encounter these missing relative file references.This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels or Discussions for those types of questions.