Giter Site home page Giter Site logo

Comments (3)

lukemelia avatar lukemelia commented on July 23, 2024

@villander Looks like your plugin's package.json file is missing a keyword to designate it as a ecd plugin. See "Identify the addon as a plugin" under http://ember-cli-deploy.com/docs/v1.0.x/creating-a-plugin/#the-anatomy-of-a-plugin

from ember-cli-deploy-plugin.

villander avatar villander commented on July 23, 2024

thanks @lukemelia now it works, but I have another issue.

my machine

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

I'm trying read source maps read is always empty. the problem happens on _readSourceMap function - https://github.com/PayCertify/ember-cli-deploy-airbrake/blob/EN-548%2Fcreate-plugin-airbrake/index.js#L102

|    - Uploading sourcemaps to Airbrake
|    - Uploading sourcemap to Airbrake: 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 Airbrake: version= name=https://my.paycertify.com/assets/vendor-9a51012fdf0474b17c5760686fdd3586.js file=tmp/deploy-dist/assets/vendor-534fce18d47740d0e26096c68734a690.map
|    - Uploading sourcemap to Airbrake: 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\"}"

is there anything related to the read permission or something. Almost ember-cli deploy plugins use this function and it seems to work fine, but in my case it does not work

from ember-cli-deploy-plugin.

achambers avatar achambers commented on July 23, 2024

Hi @villander. Iā€™m looking at your plugin on my phone so excuse any daft questions.

Can you let me know what the value of mapFilePath, relativeMapFilePath and gzippedFiles is please?

from ember-cli-deploy-plugin.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.