Closed kamin438 closed 6 years ago
Changed minifer-js for the build to https://atmospherejs.com/meteor/minifier-js
Issue resolved
Hi @kamin438 could you elaborate on how do you resolve it ?
I was having the exact same issue, and adding minifier-js does not work for me
Hi @vilipwong, can I see a list of your packages?
@kamin438
i have the same stack trace as yours.
remote: Errors prevented bundling:
remote: While minifying app code:
remote:
remote: /app/tmp/cache/meteor/.meteor/packages/standard-minifier-js/.2.3.4.bxrbtf.uha75++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:779:15:
remote: Unexpected token (1:203421)
remote: at _class.raise
remote: at Object.parse (packages/babel-compiler.js:46:29)
remote: at extractModuleSizesTree (packages/minifyStdJS/plugin/stats.js:23:23)
remote: at files.forEach.file (packages/minifyStdJS/plugin/minify-js.js:141:20)
remote: at Array.forEach (<anonymous>)
remote: at MeteorBabelMinifier.processFilesForBundle
remote: (packages/minifyStdJS/plugin/minify-js.js:118:9)
mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.5.0 # The database Meteor supports right now
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library
#standard-minifier-js@2.3.4 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.11.1 # Enable ECMAScript2015+ syntax in app code
shell-server@0.3.1 # Server-side component of the `meteor shell` command
#autopublish@1.0.7 # Publish all data to the clients (for prototyping)
#insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
juliancwirko:postcss@=1.2.0
less@2.7.12
jquery@1.11.10
# routing
ostrio:flow-router-extra
kadira:blaze-layout
# accounts
accounts-password@1.5.1
email@1.2.3
alanning:roles
# Mongo db collections packages
dburles:collection-helpers
aldeed:collection2@3.0.0
aldeed:schema-index
check@1.3.1
tmeasday:publish-counts
ongoworks:security
session@1.1.7
aldeed:collection2-core
momentjs:moment
juliancwirko:s-alert
juliancwirko:s-alert-genie
juliancwirko:s-alert-bouncyflip
twbs:bootstrap
fortawesome:fontawesome
#lepozepo:cloudinary
aldeed:tabular
reywood:publish-composite
todda00:friendly-slugs
mrt:nprogress
# summernote:summernote
djedi:sanitize-html-client
jessyleite:meteor-trumbowy
zuuk:stale-session
underscore@1.0.10
meteorhacks:unblock
minifier-js
hmmm. I originally thought it might have been outdated package also causing the error. I had that problem as well, but it seems like your packages look fine. I am not sure.
Maybe paste in your error message and we can reopen the ticket :)
Type of problem
Summary
Failure to build on push with the update to meteor 1.7.
Contents of
.meteor/release
METEOR@1.7.0.1
Buildpack version
https://github.com/AdmitHub/meteor-buildpack-horse.git
Logs
`-----> Node.js app detected -----> Clearing cache dir. -----> Existing meteor installation found, using it. -----> Target Meteor version: Meteor 1.7.0.1 -----> Checking if this meteor version supports --server-only -----> Using node: v8.11.2 -----> and npm: 5.10.0
Deployment target
Deploying to Heroku