Closed juliomac closed 5 years ago
I've adjusted the bundling in v2.1.1 to dereference symlinks. Can you try with that and let me know if you see any further errors?
Hi @ramijarrar ! Thanks for the update! It seems like it did fix the symlink issue. It has passed this phase without any problems. See here:
debug: create tarball
info: ChatLibertas: Deploying bundle tarball
info: ChatLibertas: Running server initialisation
info: ChatLibertas: Polling server status...
However it did not finish the build. Below see what I think it is the most important part of the Debug log regarding this new issue (please tell me if you need the rest):
debug: D:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(400,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [D:\local\Temp\8d6b6baf59591bc\bundle\programs\server\npm\node_modules\tiny-secp256k1\build\secp256k1.vcxproj]
debug: addon.cpp
debug: ..\native\addon.cpp(1): fatal error C1083: Cannot open include file: 'array': No such file or directory [D:\local\Temp\8d6b6baf59591bc\bundle\programs\server\npm\node_modules\tiny-secp256k1\build\secp256k1.vcxproj]
debug: win_delay_load_hook.cc
debug: gyp ERR! build error
debug: gyp ERR! stack Error: `msbuild` failed with exit code: 1
The issue seems to be related to The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build.
.
Then it cannot find it Cannot open include file: 'array': No such file or directory [D:\local\Temp\8d6b6baf59591bc\bundle\programs\server\npm\node_modules\tiny-secp256k1\build\secp256k1.vcxproj]
Moved to #65
I am getting "Failed to complete server initialisation" and Debug shows several lines saying "Cannot create symlink to '../.js': File name too long", ending with "tar: Exiting with failure status due to previous errors" and "meteor-azure: Could not unpack bundle".
I am trying to install an exact copy of latest Rocket Chat Meteor app (for testing before uploading a customized one).
I have tried this
$ git config core.symlinks false
, according to this: https://github.com/Urigo/IonicCLI-Meteor-WhatsApp/issues/4# , but it did not have any effect.Operating system: Mac OS 10.13.6
Meteor version; Meteor 1.8.0.2
Package version (run
meteor-azure -v
): v2.1.0-rc.7Command output with debug mode enabled
Installing new Livechat... WARNING: npm peer requirements (for juliancwirko:postcss) not installed:
Read more about installing npm peer dependencies: http://guide.meteor.com/using-packages.html#peer-npm-dependencies
Node#moveTo was deprecated. Use Container#append. warn: Using default web config debug: checking for broken symlinks debug: create tarball info: ChatLibertas: Deploying bundle tarball info: ChatLibertas: Running server initialisation info: ChatLibertas: Polling server status... debug: ChatLibertas: Retrieving Kudu deployment log... debug: Command: bash script.sh debug: meteor-azure: Now using NVM v1.1.4 debug: meteor-azure: Setting Node to v8.11.4 32-bit debug: Version 8.11.4 is already installed. debug: meteor-azure: Now using Node v8.11.4 (32-bit) debug: meteor-azure: Now using NPM v6.4.1 debug: meteor-azure: Installing global node-pre-gyp debug: D:\home\meteor-azure\nvm\v8.11.4\node-pre-gyp -> D:\home\meteor-azure\nvm\v8.11.4\node_modules\node-pre-gyp\bin\node-pre-gyp debug: + node-pre-gyp@0.9.1 debug: updated 1 package in 12.639s debug: meteor-azure: Unpacking bundle debug: tar: bundle/programs/server/npm/node_modules/sharp/vendor/lib/libpng.dylib: Cannot create symlink to 'libpng16.dylib': No such file or directory debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/escodegen/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/escodegen/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/.bin/esgenerate: Cannot create symlink to '../escodegen/bin/esgenerate.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/.bin/escodegen: Cannot create symlink to '../escodegen/bin/escodegen.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/falafel/node_modules/.bin/acorn: Cannot create symlink to '../acorn/bin/acorn': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/escodegen/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/escodegen/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/.bin/esgenerate: Cannot create symlink to '../escodegen/bin/esgenerate.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/.bin/escodegen: Cannot create symlink to '../escodegen/bin/escodegen.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/cwise-parser/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/cwise-parser/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-verify: Cannot create symlink to '../sshpk/bin/sshpk-verify': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-sign: Cannot create symlink to '../sshpk/bin/sshpk-sign': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-conv: Cannot create symlink to '../sshpk/bin/sshpk-conv': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/.bin/har-validator: Cannot create symlink to '../har-validator/bin/har-validator': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-verify: Cannot create symlink to '../sshpk/bin/sshpk-verify': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-sign: Cannot create symlink to '../sshpk/bin/sshpk-sign': File name too long debug: tar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-conv: Cannot create symlink to '../sshpk/bin/sshpk-conv': File name too long debug: tar: Exiting with failure status due to previous errors debug: meteor-azure: Could not unpack bundle debug: tar: bundle/programs/server/npm/node_modules/sharp/vendor/lib/libpng.dylib: Cannot create symlink to 'libpng16.dylib': No such file or directory\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/escodegen/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/escodegen/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/.bin/esgenerate: Cannot create symlink to '../escodegen/bin/esgenerate.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/static-eval/node_modules/.bin/escodegen: Cannot create symlink to '../escodegen/bin/escodegen.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/falafel/node_modules/.bin/acorn: Cannot create symlink to '../acorn/bin/acorn': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/escodegen/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/escodegen/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/.bin/esgenerate: Cannot create symlink to '../escodegen/bin/esgenerate.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/static-module/node_modules/.bin/escodegen: Cannot create symlink to '../escodegen/bin/escodegen.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/cwise-parser/node_modules/.bin/esvalidate: Cannot create symlink to '../esprima/bin/esvalidate.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/ndarray-fill/node_modules/cwise/node_modules/cwise-parser/node_modules/.bin/esparse: Cannot create symlink to '../esprima/bin/esparse.js': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-verify: Cannot create symlink to '../sshpk/bin/sshpk-verify': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-sign: Cannot create symlink to '../sshpk/bin/sshpk-sign': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-conv: Cannot create symlink to '../sshpk/bin/sshpk-conv': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-spritesmith/node_modules/spritesmith/node_modules/pixelsmith/node_modules/get-pixels/node_modules/request/node_modules/.bin/har-validator: Cannot create symlink to '../har-validator/bin/har-validator': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-verify: Cannot create symlink to '../sshpk/bin/sshpk-verify': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-sign: Cannot create symlink to '../sshpk/bin/sshpk-sign': File name too long\r\ntar: bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/.bin/sshpk-conv: Cannot create symlink to '../sshpk/bin/sshpk-conv': File name too long\r\ntar: Exiting with failure status due to previous errors\r\nmeteor-azure: Could not unpack bundle\r\nD:\Program Files (x86)\SiteExtensions\Kudu\80.10314.3823\bin\Scripts\starter.cmd bash script.sh warn: ChatLibertas: Failed to complete server initialisation