Deploying meteorJS 1.2 using Meteor-Up fails


#1

This application is Meteor-1.2.2. Hope Meteor-up is compatible with it. I have been trying to deploy to a production server using Mup - Meteor Up but it keeps failing. I have been on this for about 3 days. The seup do pass successfully but the deployment failed at the compiling stage. what do I do?

module.exports = {
  servers: {
    one: {
      // TODO: set host address, username, and authentication method
      host: 'xxx.xxx.xxx.xxx',
      username: 'serveradmin',
      // pem: './path/to/pem'
       password: 'serverpassword'
      // or neither for authenticate from ssh-agent
    }
  },

  "buildOptions": {
    // build with the debug mode on
    // You can deploy in debug mode by passing --debug.
    // This will leave your source code readable by your favorite in-browser debugger, just like it is in local development mode
    // :: Think Meteor Toys!
    "debug": true,

    // executable used to build the meteor project
    // you can set a local repo path if needed
    "executable": "meteor"
  },

  // Install MongoDB in the server, does not destroy local MongoDB on future setup
  "setupMongo": false,

  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
  "setupNode": true,

  // WARNING: If nodeVersion omitted will setup 0.10.33 by default. Do not use v, only version number.
  "nodeVersion": "0.10.40", 

  // Install PhantomJS in the server
  "setupPhantom": false,


  app: {
    // TODO: change app name and path
    name: 'crowducate',
    path: '../',

    servers: {
      one: {},
    },

    env: {
      // TODO: Change to your app's url
      // If you are using ssl, it needs to start with https://
      port: 3300,
      ROOT_URL: 'https://course.rabboni.com',
      MONGO_URL: 'mongodb://ken4ward:newpass123@ds243085.mlab.com:43085/rabbonidbserver',
    },

     ssl: { // (optional)
    //   // Enables let's encrypt (optional)
       autogenerate: {
         email: 'kehindeadeoya@gmail.com',
    //     // comma separated list of domains
         domains: 'course.rabboni.com,www.course.rabboni.com'
       }
     },

    docker: {
      // change to 'kadirahq/meteord' if your app is using Meteor 1.3 or older
      image: 'kadirahq/meteord:base',
    },

    // Show progress bar while uploading bundle to server
    // You might need to disable it on CI servers
    enableUploadProgressBar: true,
    "deployCheckWaitTime": 600
  },

  mongo: {
    oplog: true,
    version: '3.4.1',
    servers: {
      one: {}
    }
  }
};

Error log

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\ken4ward>cd C:\Programs\contract\crowducate-platform\.deploy

C:\Programs\contract\crowducate-platform\.deploy>meteor node --version
v0.10.40

C:\Programs\contract\crowducate-platform\.deploy>mup.cmd setup

   ┌─────────────────────────────────────┐
   │                                     │
   │   update available 1.3.4 => 1.3.5   │
   │     To update, run npm i -g mup     │
   │                                     │
   └─────────────────────────────────────┘

loaded config from C:\Programs\contract\crowducate-platform\.deploy\mup.js

5 Validation Errors
  - "buildOptions" is an unknown property
  - "setupMongo" is an unknown property
  - "setupNode" is an unknown property
  - "nodeVersion" is an unknown property
  - "setupPhantom" is an unknown property

Read the docs and view example configs at
    http://meteor-up.com/docs


Started TaskList: Setup Docker
[xxx.xxx.xxx.xxx] - Setup Docker
[xxx.xxx.xxx.xxx] - Setup Docker: SUCCESS

Started TaskList: Setup Meteor
[xxx.xxx.xxx.xxx] - Setup Environment
[xxx.xxx.xxx.xxx] - Setup Environment: SUCCESS

Started TaskList: Setup Mongo
[xxx.xxx.xxx.xxx] - Setup Environment
[xxx.xxx.xxx.xxx] - Setup Environment: SUCCESS
[xxx.xxx.xxx.xxx] - Copying mongodb.conf
[xxx.xxx.xxx.xxx] - Copying mongodb.conf: SUCCESS

Started TaskList: Start Mongo
[xxx.xxx.xxx.xxx] - Start Mongo
[xxx.xxx.xxx.xxx] - Start Mongo: SUCCESS

Next, you should run:
    mup deploy

C:\Programs\contract\crowducate-platform\.deploy>mup.cmd deploy

   ┌─────────────────────────────────────┐
   │                                     │
   │   update available 1.3.4 => 1.3.5   │
   │     To update, run npm i -g mup     │
   │                                     │
   └─────────────────────────────────────┘

loaded config from C:\Programs\contract\crowducate-platform\.deploy\mup.js

5 Validation Errors
  - "buildOptions" is an unknown property
  - "setupMongo" is an unknown property
  - "setupNode" is an unknown property
  - "nodeVersion" is an unknown property
  - "setupPhantom" is an unknown property

Read the docs and view example configs at
    http://meteor-up.com/docs

Building App Bundle Locally
Errors prevented bundling:
While minifying app code:

C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:196:18:
Unexpected token: punc (:)
at new JS_Parse_Error
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:196:18)
at js_error
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:204:11)
at croak
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:675:9)
at token_error
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:683:9)
at unexpected
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:689:9)
at semicolon
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:709:43)
at simple_statement
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:889:73)
at
C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:742:47
at
C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:722:24
at block_
(C:\Users\ken4ward\AppData\Local\.meteor\packages\standard-minifiers\1.0.2\plugin.minifyStd.os\npm\minifiers\node_modules\uglify-js\lib\parse.js:1002:20)



=> Build Error. Check the logs printed above.

C:\Programs\contract\crowducate-platform\.deploy>

C:\Programs\contract\crowducate-platform\.deploy>

#2

Is there a reason you haven’t tried updating to a newer version of Meteor, instead of using a version which is over two years old? :slight_smile:

Meteor 1.2 came with Node v0.10.40, which is not supported by Node.js anymore, and aside from being much slower than newer Node.js versions, is likely full of security concerns!

It’s likely easier to update your Meteor version than it is to try and get Mup to deploy that old version.


#3

Thanks @abernix just afraid it’ll break many things since the verison is very far apart. 1.2 - 1.6, many things will have become highly imcompatible.


#4

If you’re making an assumption about the difficulty, I’d suggest giving it a try by following the migration guides. If you’re trying to close the gap in that wide range, you can go to Meteor 1.4.4.4 and still be on Node.js 4 which is still at least under (maintenance) LTS (long-term support). :slight_smile:

Realistically, the biggest changes are 1.2 to 1.3, and those are very well documented in the 1.3 migration guide. If you can get through those, you can likely make it all the way to 1.6 without much effort.


#5

Thank you very much @abernix . I have kickstarted the update. i hope to find it easy as expressed. Thank a bunch.


#6

@abernix, thanks for the direction. After following the procedures to update from one version to the other I ended up with this error. I’m not familiar with it so intepreting what it means is vague to me. Please am I to do right? Thanks.

=> Errors while initializing project:
                                              erved.
While loading package fourseven:scss@3.3.3_3:              Updating package catalog                  |
error: Command failed: C:\WINDOWS\system32\cmd.exe /cplatform
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd
rebuild --update-binaryowducate-platform>meteor npm install --save babel-runtime                       Updating package
Cannot download "https://github.com/sass/node-sass/releases/download/v3.3.3/win32-ia32-57_binding.node": HTTP
error 404 Not Found//registry.npmjs.org/babel-runtime
gyp info it worked if it ends with okrg/babel-runtime
gyp verb cli [ttps://reg   Updating package catalog                  -
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe',                          mjs.org/regenerator-runtime
gyp verb cli https://registry.npmjs.org/core-js                        Updating package catalog                  -
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',                                                                                          Updat
gyp verb cli   '--verbose',          -
gyp verb cli   '--libsass_ext=',platform>meteor update
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.0.3
gyp info using node@8.8.1 | win32 | ia32
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable
"C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe"
in the PATH
gyp verb `which` succeeded
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
gyp verb check python version
`C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
-c "import platform; print(platform.python_version());"` returned: "2.7.14\r\n"
gyp verb get node dir compiling against specified --nodedir dev files:
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle
gyp verb build dir attempting to create "build" dir:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created?
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
gyp info spawn args [
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=auto',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture ia32
gyp verb node dev dir
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=Win32' ]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit
(C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\node-sass\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command
"C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass
gyp ERR! node -v v8.8.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Build failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.3.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.3.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ken4ward\AppData\Roaming\npm-cache\_logs\2017-11-06T16_42_13_912Z-debug.log
Cannot download "https://github.com/sass/node-sass/releases/download/v3.3.3/win32-ia32-57_binding.node": HTTP
error 404 Not Found
gyp info it worked if it ends with ok
gyp verb cli [
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe',
gyp verb cli
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.0.3
gyp info using node@8.8.1 | win32 | ia32
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable
"C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe"
in the PATH
gyp verb `which` succeeded
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
gyp verb check python version
`C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
-c "import platform; print(platform.python_version());"` returned: "2.7.14\r\n"
gyp verb get node dir compiling against specified --nodedir dev files:
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle
gyp verb build dir attempting to create "build" dir:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created?
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file:
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle\python\python.exe
gyp info spawn args [
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=auto',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args
'C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\.temp-14iagev.n1enk\\node_modules\\node-sass\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture ia32
gyp verb node dev dir
C:\Users\ken4ward\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_32\dev_bundle
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=Win32' ]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit
(C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\node-sass\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command
"C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.6.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\ken4ward\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.3.3_3\\plugin.compileScssBatch.os.windows.x86_32\\npm\\compileScssBatch\\node_modules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd
C:\Users\ken4ward\AppData\Local\.meteor\packages\fourseven_scss\3.3.3_3\plugin.compileScssBatch.os.windows.x86_32\npm\compileScssBatch\node_modules\.temp-14iagev.n1enk\node_modules\node-sass
gyp ERR! node -v v8.8.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Build failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.3.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.3.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ken4ward\AppData\Roaming\npm-cache\_logs\2017-11-06T16_42_13_912Z-debug.log



C:\Programs\contract\crowducate-platform>

#7

The snippet you’ve included above shows that npm is trying to compile the binary dependencies necessary for fourseven:scss, but the lack of msbuild.exe is causing the compilation to fail. Npm manages its binary compilation through node-gyp, which requires things like Microsoft Visual Studio, or the C++ Tools in order to function properly. It sounds like your Windows development environment is missing the ability to compile the Node native addons which would be provided by these tools.

You should be able to fix this by ensuring that your computer has the necessary requirements, as listed on node-gyp's setup instructions. It may be possible to just run the following from an elevated privilege/admin PowerShell:

meteor npm install --global --production windows-build-tools

…But personally, I’ve always used the C++ Build Tools with the Default Install option.