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.

Emitted value instead of an instance of Error. (warning in webpack build)

See original GitHub issue

i am using lerna and needed this plugin to get sourcemap for lerna packages. but i am getting this warning after every build.

Emitted value instead of an instance of Error. 
Cannot find SourceMap 'mutationobserver.map': 
Error: Can't resolve './mutationobserver.map' in 
'/<myDir>/node_modules/mutationobserver-shim/dist'

this is my loader config

 {
          test: /\.jsx$/,
          use: ['source-map-loader'],
          enforce: 'pre',
        },
        {
          test: /\.js$/,
          use: ['source-map-loader'],
          enforce: 'pre',
        },

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
subramncommented, Dec 31, 2018

Same issue with ngx-cookie-service as well, is there a work around

0reactions
alexander-akaitcommented, May 25, 2020

Fixed in the master, ETA is the tomorrow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting the error (Emitted value instead of an instance of Error ...
Getting the error (Emitted value instead of an instance of Error) Cannot find source file 'compiler. es5. ts' after ejecting webpack.
Read more >
`angular` how to fix this warning `Emitted value instead of an ...
In webpack.config.json , do the following change: "exclude": [ // instead of /\/node_modules\// path.join(process.cwd(), 'node_modules') ].
Read more >
Webpack + @servicestack/client typescript warning
Curious if anyone building with the typescript client notice a webpack warning I ... (Emitted value instead of an instance of Error) Cannot...
Read more >
Code Splitting - webpack
Let's take a look at how we might split another module from the main bundle: project webpack-demo |- package.json |- package-lock.json |- webpack.config.js ......
Read more >
Output - webpack
Tells webpack to check if to be emitted file already exists and has the same content before writing to the output file system....
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