{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/9861","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/9861/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/9861/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/9861/events","html_url":"https://github.com/meteor/meteor/issues/9861","id":320477060,"number":9861,"title":"[bug while compiling] Property right of AssignmentExpression expected node to be of a type [\"Expression\"] but instead got null","user":{"login":"peonmodel","id":12645203,"avatar_url":"https://avatars0.githubusercontent.com/u/12645203?v=4","gravatar_id":"","url":"https://api.github.com/users/peonmodel","html_url":"https://github.com/peonmodel","followers_url":"https://api.github.com/users/peonmodel/followers","following_url":"https://api.github.com/users/peonmodel/following{/other_user}","gists_url":"https://api.github.com/users/peonmodel/gists{/gist_id}","starred_url":"https://api.github.com/users/peonmodel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peonmodel/subscriptions","organizations_url":"https://api.github.com/users/peonmodel/orgs","repos_url":"https://api.github.com/users/peonmodel/repos","events_url":"https://api.github.com/users/peonmodel/events{/privacy}","received_events_url":"https://api.github.com/users/peonmodel/received_events","type":"User","site_admin":false},"labels":[{"id":164742717,"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Tool","name":"Project:Tool","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-05T03:56:48Z","updated_at":"2018-05-07T13:31:42Z","closed_at":null,"author_association":"NONE","body":"after updating meteor\r\n```\r\nThis project is already at Meteor 1.6.1.1, the latest release.\r\nChanges to your project's package version selections from updating\r\npackage versions:\r\nbabel-compiler  upgraded from 7.0.7 to 7.0.8  \r\necmascript      upgraded from 0.10.7 to 0.10.8\r\nhttp            upgraded from 1.4.0 to 1.4.1\r\n```\r\nrunning meteor, i have\r\n```\r\n/project/node_modules/@babel/types/lib/definitions/utils.js:138:13:\r\n   Property right of AssignmentExpression expected node to be of a\r\n   type [\"Expression\"] but instead got null\r\n   at Object.validate\r\n   (/project/node_modules/@babel/types/lib/definitions/utils.js:138:13)\r\n   at validate\r\n   (/project/node_modules/@babel/types/lib/validators/validate.js:17:9)\r\n   at builder\r\n   (/project/node_modules/@babel/types/lib/builders/builder.js:50:27)\r\n   at Object.AssignmentExpression\r\n   (/project/node_modules/@babel/types/lib/builders/generated/index.js:235:27)\r\n   at\r\n   /project/node_modules/@babel/plugin-proposal-decorators/lib/index.js:60:28\r\n```\r\n.babelrc\r\n```\r\n{\r\n  \"plugins\": [\r\n\t\t\"@babel/plugin-proposal-optional-chaining\",\r\n\t\t\"@babel/plugin-proposal-decorators\",\r\n\t\t\"@babel/plugin-proposal-nullish-coalescing-operator\"\r\n  ]\r\n}\r\n```\r\npackage.json\r\n```\r\n  \"dependencies\": {\r\n    \"@babel/runtime\": \"^7.0.0-beta.44\",\r\n    \"bcrypt\": \"^2.0.0\",\r\n    \"blob-stream\": \"^0.1.3\",\r\n    \"lodash\": \"^4.17.5\",\r\n    \"meteor-node-stubs\": \"^0.3.3\",\r\n    \"react\": \"^16.3.1\",\r\n    \"react-dom\": \"^16.3.1\",\r\n    \"react-komposer\": \"^2.0.0\",\r\n    \"react-router-dom\": \"^4.2.2\",\r\n    \"svg-to-pdfkit\": \"^0.1.7\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@babel/core\": \"^7.0.0-beta.44\",\r\n    \"@babel/plugin-proposal-decorators\": \"^7.0.0-beta.44\",\r\n    \"@babel/plugin-proposal-nullish-coalescing-operator\": \"^7.0.0-beta.46\",\r\n    \"@babel/plugin-proposal-optional-chaining\": \"^7.0.0-beta.44\",\r\n    \"babel-eslint\": \"^8.2.1\",\r\n    \"eslint\": \"^4.19.1\",\r\n    \"eslint-plugin-react\": \"^7.7.0\"\r\n  }\r\n```\r\nthe code is previously working just fine, the only thing that have changed is running ```meteor update```\r\ni am quite sure the issue is with \"@babel/plugin-proposal-decorators\", disabling that line allows compilation\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/387065571","html_url":"https://github.com/meteor/meteor/issues/9861#issuecomment-387065571","issue_url":"https://api.github.com/repos/meteor/meteor/issues/9861","id":387065571,"user":{"login":"peonmodel","id":12645203,"avatar_url":"https://avatars0.githubusercontent.com/u/12645203?v=4","gravatar_id":"","url":"https://api.github.com/users/peonmodel","html_url":"https://github.com/peonmodel","followers_url":"https://api.github.com/users/peonmodel/followers","following_url":"https://api.github.com/users/peonmodel/following{/other_user}","gists_url":"https://api.github.com/users/peonmodel/gists{/gist_id}","starred_url":"https://api.github.com/users/peonmodel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peonmodel/subscriptions","organizations_url":"https://api.github.com/users/peonmodel/orgs","repos_url":"https://api.github.com/users/peonmodel/repos","events_url":"https://api.github.com/users/peonmodel/events{/privacy}","received_events_url":"https://api.github.com/users/peonmodel/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T13:31:42Z","updated_at":"2018-05-07T13:31:42Z","author_association":"NONE","body":"after updating to *-beta.46 it compiles but the decorator doesnt work, optional chaining and others work fine though\r\nit is weird though, i was sure that previously *-beta.46 still crashes during compilation, could be interaction with other packages that was updated too\r\ni ran ```npm update```\r\n```\r\n> bcrypt@2.0.1 install /project/node_modules/bcrypt\r\n> node-pre-gyp install --fallback-to-build\r\n\r\n[bcrypt] Success: \"/project/node_modules/bcrypt/lib/binding/bcrypt_lib.node\" is installed via remote\r\nnpm WARN react-komposer@2.0.0 requires a peer of react@^0.14.7 || ^15.0.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN react-stubber@1.0.0 requires a peer of react@^0.14.7 || ^15.0.0 but none is installed. You must install peer dependencies yourself.\r\n\r\n+ babel-eslint@8.2.3\r\n+ react-dom@16.3.2\r\n+ lodash@4.17.10\r\n+ react@16.3.2\r\n+ bcrypt@2.0.1\r\n+ @babel/plugin-proposal-optional-chaining@7.0.0-beta.46\r\n+ @babel/core@7.0.0-beta.46\r\n+ @babel/plugin-proposal-decorators@7.0.0-beta.46\r\nadded 71 packages from 62 contributors, removed 39 packages and updated 29 packages in 13.471s\r\n```"}}
{"actor":{"display_login":"peonmodel"}}