-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled rejection Error: original.line and original.column are not numbers #2156
Comments
package.json: {
"name": "app",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.2.0",
"@fortawesome/fontawesome-svg-core": "^1.2.7",
"@fortawesome/free-solid-svg-icons": "^5.4.2",
"@fortawesome/vue-fontawesome": "^0.1.1",
"@rails/webpacker": "^4.0.2",
"@sentry/browser": "^5.3.0",
"@sentry/integrations": "^5.3.1",
"axios": "^0.18.0",
"bootstrap": "4.3.1",
"bootstrap-vue": "^2.0.0-rc.20",
"chart.js": "^2.7.2",
"current-device": "^0.8.0",
"highcharts": "^6.1.0",
"jquery": "^3.3.1",
"lodash": "^4.17.4",
"popper.js": "^1.14.7",
"quill": "^1.3.6",
"sweet-scroll": "^4.0.0",
"v-click-outside": "^2.0.1",
"v-runtime-template": "^1.5.2",
"vue": "^2.6.10",
"vue-chartkick": "^0.3.3",
"vue-i18n": "^7.4.0",
"vue-loader": "^15.7.0",
"vue-quill-editor": "^3.0.6",
"vue-resource": "^1.5.1",
"vue-template-compiler": "^2.5.13",
"vuejs-noty": "^0.1.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"webpack-dev-server": "^3.4.1"
}
} Source yarn.lock file (good): https://pastebin.com/raw/TaSkeXV2 |
When pushing to Heroku I am getting this same error with a brand new rails 6 app and default configuration.
|
Here is a repo with a default rails app that the error can be reproduced with: |
I’ll add that I use Rails 5.2.3 and Ruby 2.6.3. Locally yarn 1.16, and on the server yarn 1.17 (locally and on the server the error is the same). Dokku is responsible for the server. |
Having this too :( |
I was having this issue, and while testing different things I ran |
Thank you @guzart |
Actual information. |
While this is no longer happening, I think the fact that this broke the builds but did not fail the builds is still an issue and should be reopened. |
@mike1o1 ok, opened. |
The problem is related to terser/terser#380 (comment) I have created a PR to fix this for us: webpack-contrib/terser-webpack-plugin#103 |
Is this still an issue? Feel free to reopen if needed |
I suddenly started getting this error when deploying. It does not cancel deployment. Therefore, the application after launch does not work.
I took all the configs from the master branch: https://github.com/rails/webpacker/tree/master/lib/install/config
During application deployment, I get the following errors:
And when the application is running, I get this:
(visually):
(in logs):
Something happened after June 13th. I haven't updated anything since. Today I ran the
bundle
andyarn
commands. I also followed your upgrade instructions. I had the task to update the dependencies. Therefore, I have not added any new packages. And my configs for Webpack matched your current.But this did not fix the problem. I can not even understand what caused it...
The text was updated successfully, but these errors were encountered: