Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Source maps shouldn't be required #29

@turboMaCk

Description

@turboMaCk

Ahoj kluci!

I ran into issue while trying out this plugin. It seems like source maps are required by this task.

This doesn't seem right since not every compiler has support for source map generation.

This is full log:

$ ./node_modules/.bin/deploy staging                                                                                                                                                                                                           
Environment: ▇▇▇▇▇▇
Deploying branch ▇▇▇▇▇▇

Detected 1 build app versions:
        bfb▇▇▇▇▇▇▇▇▇▇▇▇: log

[21:43:44] Using config file ▇▇▇▇▇▇/deploy-config.js
[21:43:44] Using gulpfile ▇▇▇▇▇▇/webpack-deploy/gulpfile.js
[21:43:44] Starting 'deploy-s3'...
[21:43:44] Finished 'deploy-s3' after 38 ms
[21:43:44] Using config file ▇▇▇▇▇▇/deploy-config.js
[21:43:45] Using gulpfile ▇▇▇▇▇▇/node_modules/webpack-deploy/gulpfile.js
[21:43:45] Starting 'rollbar-source-map'...
[21:43:45] 'rollbar-source-map' errored after 320 μs
[21:43:45] TypeError: Cannot read property 'files' of undefined
    at uploadAppVersions (▇▇▇▇▇▇/node_modules/webpack-deploy/tasks/rollbar-source-map.js:72:23)
    at ▇▇▇▇▇▇/node_modules/webpack-deploy/tasks/rollbar-source-map.js:175:5
    at module.exports.getRevision (▇▇▇▇▇▇/node_modules/webpack-deploy/tasks/utils.js:39:69)
    at Gulp.<anonymous> (/▇▇▇▇▇▇/node_modules/webpack-deploy/tasks/rollbar-source-map.js:174:3)
    at module.exports (/Users/marek/Developer/pro-next/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (▇▇▇▇▇▇node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (▇▇▇▇▇▇/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (▇▇▇▇▇▇/node_modules/orchestrator/index.js:134:8)
    at ▇▇▇▇▇▇/node_modules/gulp/bin/gulp.js:129:20
    at _combinedTickCallback (internal/process/next_tick.js:67:7)

I'm using node 6.9.4 & webpack 1.12.15 but I don't think this is version specific.
build.log was generated by $ webpack >> build.log. App written in elm-lang (using webpack-elm).

I didn't dig deeper into issue yet - Do you think it will be easy patch or bigger story?

Thanks for publishing this package anyway! 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions