You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying a deploy an app I just updated to Meteor 0.9.0. During the demeteorizing stage, I get the following error.
I am running this on OSX Mavericks.
$ modulus deploy
Welcome to Modulus
You are logged in as pjbrow
Please choose which project to use:
1) ideas-staging
[?] project 1
Selecting ideas-staging
Meteor project detected...
Creating output folder.
Bundling Meteor App...
meteor bundle generation complete.
Extracting bundle.
Extraction complete.
Finding dependencies...
0 dependencies found.
Creating package.json file.
package.json file generation complete.
Setting minimum node version to v0.10.22
fs.js:432
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES, permission denied '/Users/Pat/code/ideas/.demeteorized/programs/server/boot.js'
at Object.fs.openSync (fs.js:432:18)
at Object.fs.writeFileSync (fs.js:971:15)
at Demeteorizer.setNodeVersion (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:323:6)
at /usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:58:14
at /usr/local/lib/node_modules/modulus/node_modules/demeteorizer/node_modules/async/lib/async.js:551:21
at /usr/local/lib/node_modules/modulus/node_modules/demeteorizer/node_modules/async/lib/async.js:227:13
at iterate (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/node_modules/async/lib/async.js:134:13)
at /usr/local/lib/node_modules/modulus/node_modules/demeteorizer/node_modules/async/lib/async.js:145:25
at /usr/local/lib/node_modules/modulus/node_modules/demeteorizer/node_modules/async/lib/async.js:229:17
at /usr/local/lib/node_modules/modulus/node_modules
The text was updated successfully, but these errors were encountered:
Turns out this is unrelated to #64, but it is a result of 0.9.0. In the bundle step, Meteor makes boot.js read-only, so demeteorizer fails when it tries to set the min node version in that file. I did submit a fix that handles the error better, but you'll still need to have root if you want that step to work. That said, I was able to successfully demeteorize and run a fairly complex Meteor app with the commit in the referenced pull request, so I'm not sure if setting min node version is even necessary anymore...
I'm trying a deploy an app I just updated to Meteor 0.9.0. During the demeteorizing stage, I get the following error.
I am running this on OSX Mavericks.
The text was updated successfully, but these errors were encountered: