Skip to content
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

1.4.2 regression: files under programs/server/npm/node_modules/meteor in bundles are read-only #7974

Closed
glasser opened this issue Oct 26, 2016 · 7 comments
Assignees

Comments

@glasser
Copy link
Member

@glasser glasser commented Oct 26, 2016

This leads to some problems, eg with phantomjs-prebuilt which overwrites one of its files (lib/location.js) at rebuild time.

@benjamn
Copy link
Member

@benjamn benjamn commented Oct 26, 2016

I'm pretty sure this commit is the culprit, since this line is no longer involved.

@benjamn benjamn self-assigned this Oct 26, 2016
@benjamn benjamn added this to the Release 1.4.2.1 milestone Oct 26, 2016
@glasser
Copy link
Member Author

@glasser glasser commented Oct 26, 2016

Good catch! That's definitely it.

benjamn added a commit that referenced this issue Oct 26, 2016
@benjamn
Copy link
Member

@benjamn benjamn commented Oct 28, 2016

This should be fixed if you run meteor update --release 1.4.2.1-beta.1 in your app directory.

@benjamn
Copy link
Member

@benjamn benjamn commented Nov 3, 2016

Closing now because this seems to be fixed in my tests, but of course feel free to reopen if you discover otherwise!

@benjamn benjamn closed this Nov 3, 2016
@mjmasn mjmasn mentioned this issue Nov 4, 2016
@harveysanders
Copy link

@harveysanders harveysanders commented Nov 7, 2016

I just ran into this problem too. I upgraded to 1.4.2.1-beta.1 and now I'm getting this error from meteor on my local machine and the deployment server when I try to build and run the app with meteor.

/project/.meteor/local/build/programs/server/boot.js:348
 }).run();
    ^

 Error: Cannot find module '../core-js/symbol/iterator'
     at require (packages/modules-runtime.js:109:19)
     at meteorInstall.node_modules.babel-runtime.helpers.typeof.js (packages/modules.js:351:17)
     at fileEvaluate (packages/modules-runtime.js:181:9)
     at Module.require (packages/modules-runtime.js:106:16)
     at Module.Mp.import (/global/.meteor/packages/modules/.0.7.7.jvu3qu++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
at meteorInstall.node_modules.meteor.webapp.webapp_server.js (/project/.meteor/local/build/programs/server/packages/webapp.js:33:26)
at fileEvaluate (packages/modules-runtime.js:181:9)
at require (packages/modules-runtime.js:106:16)
at /project/.meteor/local/build/programs/server/packages/webapp.js:842:1
at /project/.meteor/local/build/programs/server/packages/webapp.js:855:3
@abernix
Copy link
Member

@abernix abernix commented Nov 7, 2016

@harveysanders This is a different error which did exist but the version you're using (beta.1) is no longer the most recent. Meteor 1.4.2.1-rc.1 is out now, so please try that instead:

meteor update --release 1.4.2.1-rc.1
meteor npm install babel-runtime --save

I believe that will fix your problem.

@snamoah
Copy link

@snamoah snamoah commented Dec 20, 2016

Had the same error on meteor 1.4.2.3. Got mine working by installing babel-runtime without version constraint

meteor npm install babel-runtime --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants