Repository navigation
Closed
Labels
Milestone
Description
Trying to deploy to Galaxy. Error:
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-generator.js:276:15:
original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated
position. If so, pass null for the original mapping instead of an object with empty or null values.
at SourceMapGenerator_validateMapping
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-generator.js:110:12)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-generator.js:72:17
at Array.forEach (native)
at SourceMapConsumer_eachMapping
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-consumer.js:157:14)
at Function.SourceMapGenerator_fromSourceMap
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/coffeescript-compiler/node_modules/source-map/lib/source-map-generator.js:48:24)
at CoffeeScriptCompiler.compileOneFile (packages/coffeescript-compiler/coffeescript-compiler.js:92:40)
at CachedCoffeeScriptCompiler.compileOneFile (packages/compile-coffeescript/compile-coffeescript.js:31:38)
at packages/caching-compiler/caching-compiler.js:299:32
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:324:29
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:44:16
at packages/caching-compiler/caching-compiler.js:316:9
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:324:29
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:44:16
at packages/caching-compiler/caching-compiler.js:316:9
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:324:29
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:44:16
at packages/caching-compiler/caching-compiler.js:316:9
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:324:29
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:44:16
at packages/caching-compiler/caching-compiler.js:316:9
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:328:15
at Object.async.forEachLimit.async.eachLimit
(/home/ubuntu/.meteor/packages/coffeescript/.1.12.7_2.6mk04s++os+web.browser+web.cordova/plugin.compile-coffeescript.os/npm/node_modules/meteor/caching-compiler/node_modules/async/lib/async.js:221:35)
at CachedCoffeeScriptCompiler.processFilesForTarget (packages/caching-compiler/caching-compiler.js:284:11)
I tried to fix it by doing:
sudo rm -rf node_modules/
sudo rm -rf ~/.meteor/packages/coffeescript
sudo rm -rf ~/.meteor/packages/caching-compiler
meteor reset
meteor update
meteor update coffeescript
meteor npm update
meteor npm install
meteor npm i -g npm
Reacted by Nathaniel Dsouza
Activity
benjamn commentedon Oct 12, 2017
A small reproduction would be helpful!
not-ai-yet commentedon Oct 12, 2017
Sure, I'll get a reproduction ready. Just an update, not updating my app appears to fix it, so it seems to be something released within the last day or two since I have recently deployed.
benjamn commentedon Oct 12, 2017
Yes, there was a new version of
coffeescriptreleased today.benjamn commentedon Oct 12, 2017
@GeoffreyBooth We might be able to go back to
[email protected], since I think this validation is a new thing in[email protected]. Alternatively, if we can get a repro, we can just fix the problem directly.not-ai-yet commentedon Oct 12, 2017
@benjamn then It was definitely the new coffeescript version, as you can see by the log the issue was linked to coffescript.
GeoffreyBooth commentedon Oct 12, 2017
Sure, please roll it back.
I've been struggling with the same error in updating to 2.0.0, but I hadn't seen it in 1.12.7. I'm thinking the 2 version should use the
inputSourceMapoption in Babel rather than this custom source map merging.not-ai-yet commentedon Oct 12, 2017
Reproduction done. Just try to build/deploy it and you'll see the error. https://github.com/TheRealNate/meteor-9217
[-]Latest version cannot deploy to galaxy due to CoffeeScript error[/-][+]Latest version cannot deploy/build due to CoffeeScript error[/+]benjamn commentedon Oct 12, 2017
If you run
meteor update coffeescriptyou should get version 1.12.7_3, which contains a fix for this problem.not-ai-yet commentedon Oct 12, 2017
Can confirm its resolved. Thank you very much!
GeoffreyBooth commentedon Oct 12, 2017
How was this not caught by the tests? They just didn’t happen to generate any source maps that failed
source-map‘s validation?benjamn commentedon Oct 12, 2017
I think that’s right. For what it may be worth, Babel’s test suite fails with
[email protected]in the same way.