Closed dokithonon closed 9 years ago
Yep. It is. It should be compatible.
On Tue, Sep 1, 2015 at 1:07 PM Thomas Doki-Thonon notifications@github.com wrote:
When I deploy using mup deploy, I get an error :
{ [Error: Cannot find module 'textract'] code: 'MODULE_NOT_FOUND' }[
I have followed the information from Arunoda and here is my code:
var textract = Meteor.npmRequire('textract');
var textract2 = Async.runSync(function(done) { textract.fromFileWithPath(filePath, function( error, text ) { console.log(error); console.log(text); done(error, text); }); }); console.log("textract2.error : "); console.log(textract2.error); console.log("textract2.result : "); console.log(textract2.result);
Do you have any idea ? I am wondering if the package npm is compatible with mup ?
Kind Regards
— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/npm/issues/94.
Hello arunoda,
When doing mup deploy
or sudo mup deploy
I get this error :
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Building Started: /home/thomas/rationalK
Bundling Error: code=2, error:
-------------------STDOUT-------------------
-------------------STDERR-------------------
/usr/lib/node_modules/mup/lib/build.sh: line 13: 10999 Killed meteor build --directory $BUILD_LOCATION
/usr/lib/node_modules/mup/lib/build.sh: line 42: cd: /tmp/254dc931-fbe9-4dfe-8749-a7b20ebe5fd6: No such file or directory
tar: bundle: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
This only happens when using npm package. Any ideas are welcomed. Thanks
Seems like meteor build
command failed.
Try to invoke meteor build --directory /some/location
and see whether
it's working or not.
On Tue, Sep 1, 2015 at 1:44 PM Thomas Doki-Thonon notifications@github.com wrote:
Hello arunoda, When doing mup deploy or sudo mup deploy I get this error :
Meteor Up: Production Quality Meteor Deployments
Building Started: /home/thomas/rationalK Bundling Error: code=2, error: -------------------STDOUT-------------------
-------------------STDERR------------------- /usr/lib/node_modules/mup/lib/build.sh: line 13: 10999 Killed meteor build --directory $BUILD_LOCATION /usr/lib/node_modules/mup/lib/build.sh: line 42: cd: /tmp/254dc931-fbe9-4dfe-8749-a7b20ebe5fd6: No such file or directory tar: bundle: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors
This only happens when using npm package. Any ideas are welcomed. Thanks
— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/npm/issues/94#issuecomment-136630866.
Hello, The built is working well.
Hmm. Weird.
On Tue, Sep 1, 2015 at 1:52 PM Thomas Doki-Thonon notifications@github.com wrote:
Hello, The built is working well.
— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/npm/issues/94#issuecomment-136634260.
After doing the build as you mention, now the mup deploy command has worked... Everything seems to be working well. I cannot explain why, maybe something with the user rights on linux... Thanks a lot
Okay.
On Tue, Sep 1, 2015 at 2:00 PM Thomas Doki-Thonon notifications@github.com wrote:
Closed #94 https://github.com/meteorhacks/npm/issues/94.
— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/npm/issues/94#event-397531179.
When I deploy using mup deploy, I get an error :
I have followed the information from Arunoda and here is my code:
Do you have any idea ? I am wondering if the package npm is compatible with mup ?
Kind Regards