ng-annotate-loader: Webpack cannot find module after source-map upgrade from 0.4.2 to 0.4.3

Error exist only with karma-webpack plugin in tests. Error: Cannot find module

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 18 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Recieved a similar issue:

ERROR in ./application.js
Module build failed: Error: "../application.js" is not in the SourceMap.
    at SourceMapConsumer_sourceContentFor [as sourceContentFor] (/home/tyler/Desktop/myapp/node_modules/source-map/lib/source-map/source-map-consumer.js:677:15)
    at SourceMapGenerator.<anonymous> (/home/tyler/Desktop/myapp/node_modules/source-map/lib/source-map/source-map-generator.js:233:42)
    at Array.forEach (native)
    at SourceMapGenerator_applySourceMap [as applySourceMap] (/home/tyler/Desktop/myapp/node_modules/source-map/lib/source-map/source-map-generator.js:232:34)
    at Object.module.exports (/home/tyler/Desktop/myapp/node_modules/ng-annotate-loader/loader.js:47:17)