Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

source map is always empty #3

Open
villander opened this issue Nov 1, 2018 · 0 comments
Open

source map is always empty #3

villander opened this issue Nov 1, 2018 · 0 comments

Comments

@villander
Copy link

villander commented Nov 1, 2018

my machine

ember-cli: 3.3.0
node: 8.11.4
os: darwin x64

I'm using this plugin, but the source maps read is always empty. the problem happens on _readSourceMap function

|    - Uploading sourcemaps to Rollbar
|    - Uploading sourcemap to Rollbar: version= name=https://my.paycertify.com/assets/auto-import-fastboot-e289ea484a4d8949ea84cb262a624452.js file=tmp/deploy-dist/assets/auto-import-fastboot-81f919f3d82c38703c7b0de8c4c4a874.map
|    - Uploading sourcemap to Rollbar: version= name=https://my.paycertify.com/assets/vendor-9a51012fdf0474b17c5760686fdd3586.js file=tmp/deploy-dist/assets/vendor-534fce18d47740d0e26096c68734a690.map
|    - Uploading sourcemap to Rollbar: version= name=https://my.paycertify.com/assets/web-app-053d567f210ca3099a95b2ad14d9aa8e.js file=tmp/deploy-dist/assets/web-app-12465c4e2bb0e4ec3979d1019af914cf.map
|
+- didFail
StatusCodeError: 400 - "{\"code\":400,\"type\":\"Bad Request\",\"message\":\"sourcemap: mappings are empty\"}"
StatusCodeError: 400 - "{\"code\":400,\"type\":\"Bad Request\",\"message\":\"sourcemap: mappings are empty\"}"

https://github.com/bgentry/ember-cli-deploy-rollbar-sourcemap/blob/master/index.js#L115-L129

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

No branches or pull requests

1 participant