question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React module error: Cannot find module './recorder.js'

See original GitHub issue

Describe 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:

  1. Add aws-amplify and aws-amplify-react to project dependencies
  2. Configure amplify for project
  3. Add imports and call to Amplify.configure(awsmobile) for app
  4. Attempt to build and serve
  5. Get server error above

Expected behavior Project should serve without error.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: Chrome
  • Version: aws-amplify 1.1.19 aws-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:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
flibbertigibbetcommented, Mar 18, 2019

Anything that imports aws-amplify-react/src/Interactions/aws-lex-audio.js would encounter these missing relative file references.

0reactions
github-actions[bot]commented, Jun 12, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found