Question

Frej Norling on Mon, 06 Oct 2014 13:18:14


Hi,

I'm trying to push a local GIT repository to my Azure Website using .deployment & deploy.cmd. 

The problem is that when the script tries to install NPM packages it fails after about half is installed. I have tried a lot of things but can't get it to work.

I would appriciate if any of you have any idea of why this is not working?

This is my code:

package.json

{
  "name": "api",
  "private": true,
  "version": "0.1.0",
  "description": "Backend API",
  "keywords": [],
  "main": "app.js",
  "repository": "",
  "author": "Frej (frej@example.com)",
  "license": "",
  "scripts": {
    "start": "node app.js",
    "debug": "node debug app.js"
  },
  "devDependencies": {
    "grunt": "0.4.5",
    "grunt-contrib-watch": "~0.6.1"
  },
  "dependencies": {
    "bcrypt-nodejs": "0.0.3",
    "include-all": "~0.1.2",
    "jwt-simple": "~0.2.0",
    "mandrill-api": "~1.0.40",
    "passport": "~0.2.1",
    "passport-http-bearer": "~1.0.1",
    "sails": "~0.10.5",
    "sails-mongo": "~0.10.4",
    "validator": "~3.18.0"
  }
}

.deployment

[config]
command = deploy.cmd

Deploy.cmd

@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off

:: ----------------------
:: KUDU Deployment Script
:: Version: 0.1.5
:: ----------------------

:: Prerequisites
:: -------------

:: Verify node.js installed
where node 2>nul >nul
IF %ERRORLEVEL% NEQ 0 (
  echo Missing node.js executable, please install node.js, if already installed make sure it can be reached from current environment.
  goto error
)

:: Setup
:: -----

setlocal enabledelayedexpansion

SET ARTIFACTS=%~dp0%..\artifacts

IF NOT DEFINED DEPLOYMENT_SOURCE (
  SET DEPLOYMENT_SOURCE=%~dp0%.
)

IF NOT DEFINED DEPLOYMENT_DIST (
  SET DEPLOYMENT_DIST=%~dp0%dist\prod
)

IF NOT DEFINED DEPLOYMENT_TARGET (
  SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
)

IF NOT DEFINED NEXT_MANIFEST_PATH (
  SET NEXT_MANIFEST_PATH=%ARTIFACTS%\manifest

  IF NOT DEFINED PREVIOUS_MANIFEST_PATH (
    SET PREVIOUS_MANIFEST_PATH=%ARTIFACTS%\manifest
  )
)

IF NOT DEFINED KUDU_SYNC_CMD (
  :: Install kudu sync
  echo Installing Kudu Sync
  call npm --registry "http://registry.npmjs.org/" install kudusync -g
  IF !ERRORLEVEL! NEQ 0 goto error

  :: Locally just running "kuduSync" would also work
  SET KUDU_SYNC_CMD=node "%appdata%\npm\node_modules\kuduSync\bin\kuduSync"
)

IF NOT DEFINED GRUNT_CMD (
  :: Install grunt
  echo Installing Grunt
  call npm --registry "http://registry.npmjs.org/" install grunt-cli
  IF !ERRORLEVEL! NEQ 0 goto error

  :: Locally just running "grunt" would also work
  SET GRUNT_CMD=node "%appdata%\npm\node_modules\grunt-cli\bin\grunt"

)


goto Deployment

:: Utility Functions
:: -----------------

:SelectNodeVersion

IF DEFINED KUDU_SELECT_NODE_VERSION_CMD (
  :: The following are done only on Windows Azure Websites environment
  call %KUDU_SELECT_NODE_VERSION_CMD% "%DEPLOYMENT_SOURCE%" "%DEPLOYMENT_TARGET%" "%DEPLOYMENT_TEMP%"
  IF !ERRORLEVEL! NEQ 0 goto error

  IF EXIST "%DEPLOYMENT_TEMP%\__nodeVersion.tmp" (
    SET /p NODE_EXE=<"%DEPLOYMENT_TEMP%\__nodeVersion.tmp"
    IF !ERRORLEVEL! NEQ 0 goto error
  )
  
  IF EXIST "%DEPLOYMENT_TEMP%\__npmVersion.tmp" (
    SET /p NPM_JS_PATH=<"%DEPLOYMENT_TEMP%\__npmVersion.tmp"
    IF !ERRORLEVEL! NEQ 0 goto error
  )

  IF NOT DEFINED NODE_EXE (
    SET NODE_EXE=node
  )

  SET NPM_CMD="!NODE_EXE!" "!NPM_JS_PATH!"
) ELSE (
  SET NPM_CMD=npm --registry "http://registry.npmjs.org/"
  SET NODE_EXE=node
)

goto :EOF

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Deployment
:: ----------

:Deployment
echo Handling node.js deployment.
echo %DEPLOYMENT_SOURCE%

:: 1. Select node version
call :SelectNodeVersion

:: 2. Install npm packages
echo Installing npm dev dependendencies
if EXIST "%DEPLOYMENT_SOURCE%\package.json" (
  pushd %DEPLOYMENT_SOURCE%
  echo Cleaning NPM cache.
  call !NPM_CMD! cache clean
  call !NPM_CMD! install --development
  IF !ERRORLEVEL! NEQ 0 goto error
  popd
)

:: 3. Run grunt prod task
pushd %DEPLOYMENT_SOURCE%
call !GRUNT_CMD! prod
popd

:: 4. KuduSync
IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
  call %KUDU_SYNC_CMD% -v 50 -f "%DEPLOYMENT_DIST%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
  IF !ERRORLEVEL! NEQ 0 goto error
)

:: 5. Install npm packages
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
  pushd %DEPLOYMENT_TARGET%
  call !NPM_CMD! install --production
  IF !ERRORLEVEL! NEQ 0 goto error
  popd
)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: Post deployment stub
call %POST_DEPLOYMENT_ACTION%
IF !ERRORLEVEL! NEQ 0 goto error

goto end

:error
echo An error has occurred during web site deployment.
call :exitSetErrorLevel
call :exitFromFunction 2>nul

:exitSetErrorLevel
exit /b 1

:exitFromFunction
()

:end
echo Finished successfully.
And here is the log for the deployment from the Azure portal
Command: deploy.cmd
Installing Grunt
npm WARN package.json api@0.1.0 No README.md file found!
npm http GET http://registry.npmjs.org/grunt-cli
npm http 200 http://registry.npmjs.org/grunt-cli
npm http GET http://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm http 200 http://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.13.tgz
npm http GET http://registry.npmjs.org/nopt
npm http GET http://registry.npmjs.org/findup-sync
npm http GET http://registry.npmjs.org/resolve
npm http 200 http://registry.npmjs.org/findup-sync
npm http GET http://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http 200 http://registry.npmjs.org/nopt
npm http GET http://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http 200 http://registry.npmjs.org/resolve
npm http 200 http://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http GET http://registry.npmjs.org/resolve/-/resolve-0.3.1.tgz
npm http 200 http://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http 200 http://registry.npmjs.org/resolve/-/resolve-0.3.1.tgz
npm http GET http://registry.npmjs.org/abbrev
npm http GET http://registry.npmjs.org/glob
npm http GET http://registry.npmjs.org/lodash
npm http 200 http://registry.npmjs.org/abbrev
npm http GET http://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http 200 http://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http 200 http://registry.npmjs.org/glob
npm http 200 http://registry.npmjs.org/lodash
npm http GET http://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http GET http://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 http://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http 200 http://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http GET http://registry.npmjs.org/inherits
npm http GET http://registry.npmjs.org/minimatch
npm http 200 http://registry.npmjs.org/inherits
npm http GET http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 http://registry.npmjs.org/minimatch
npm http GET http://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http 200 http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 http://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http GET http://registry.npmjs.org/lru-cache
npm http GET http://registry.npmjs.org/sigmund
npm http 200 http://registry.npmjs.org/sigmund
npm http GET http://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 http://registry.npmjs.org/lru-cache
npm http GET http://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 http://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 http://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
grunt-cli@0.1.13 node_modules\grunt-cli
├── resolve@0.3.1
├── nopt@1.0.10 (abbrev@1.0.5)
└── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)
Handling node.js deployment.
D:\home\site\repository
Using start-up script app.js from package.json.
Generated web.config.
The package.json file does not specify node.js engine version constraints.
The node.js application will run with the default node.js version 0.10.5.
Installing npm dev dependendencies
Cleaning NPM cache.
npm WARN package.json api@0.1.0 No README.md file found!
npm http GET https://registry.npmjs.org/sails
npm http GET https://registry.npmjs.org/grunt/0.4.5
npm http 200 https://registry.npmjs.org/grunt/0.4.5
npm http GET https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz
npm http 200 https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz
npm http 200 https://registry.npmjs.org/sails
npm http GET https://registry.npmjs.org/sails/-/sails-0.10.5.tgz
npm http 200 https://registry.npmjs.org/sails/-/sails-0.10.5.tgz
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/getobject
npm http GET https://registry.npmjs.org/grunt-legacy-util
npm http GET https://registry.npmjs.org/grunt-legacy-log
npm http 200 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/findup-sync
npm http 200 https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http 200 https://registry.npmjs.org/hooker
npm http GET https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/iconv-lite
npm http 200 https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/which
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http GET https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm http 200 https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/exit
npm http 200 https://registry.npmjs.org/getobject
npm http 200 https://registry.npmjs.org/dateformat/-/dateformat-1.0.2-1.2.3.tgz
npm http 200 https://registry.npmjs.org/js-yaml
npm http 200 https://registry.npmjs.org/lodash
npm http 200 https://registry.npmjs.org/grunt-legacy-log
npm http 200 https://registry.npmjs.org/grunt-legacy-util
npm http 200 https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.3.tgz
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm http GET https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm http GET https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http GET https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http GET https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.2.1.tgz
npm http GET https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz
npm http GET https://registry.npmjs.org/exit/-/exit-0.1.2.tgz
npm http GET https://registry.npmjs.org/js-yaml/-/js-yaml-2.0.5.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-0.9.2.tgz
npm http GET https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-0.1.1.tgz
npm http GET https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-0.2.0.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm http 200 https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz
npm http 200 https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.2.1.tgz
npm http 200 https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz
npm http 200 https://registry.npmjs.org/exit/-/exit-0.1.2.tgz
npm http 200 https://registry.npmjs.org/js-yaml/-/js-yaml-2.0.5.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-0.9.2.tgz
npm http 200 https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-0.1.1.tgz
npm http 200 https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-0.2.0.tgz
npm http GET https://registry.npmjs.org/abbrev
npm http 200 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/abbrev/-/abbrev-1.0.5.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.11.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http GET https://registry.npmjs.org/express/3.4.3
npm http GET https://registry.npmjs.org/waterline
npm http GET https://registry.npmjs.org/rc
npm http GET https://registry.npmjs.org/sails-stringfile
npm http GET https://registry.npmjs.org/captains-log
npm http GET https://registry.npmjs.org/reportback
npm http GET https://registry.npmjs.org/sails-util
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/connect-flash
npm http GET https://registry.npmjs.org/pluralize
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/ejs-locals
npm http GET https://registry.npmjs.org/i18n
npm http GET https://registry.npmjs.org/sails-generate
npm http GET https://registry.npmjs.org/sails-build-dictionary
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/fs-extra
npm http GET https://registry.npmjs.org/sails-disk
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/grunt/0.4.2
npm http GET https://registry.npmjs.org/grunt-contrib-copy
npm http GET https://registry.npmjs.org/grunt-contrib-clean
npm http GET https://registry.npmjs.org/grunt-contrib-concat
npm http GET https://registry.npmjs.org/grunt-sails-linker
npm http GET https://registry.npmjs.org/grunt-contrib-jst
npm http GET https://registry.npmjs.org/grunt-contrib-watch
npm http GET https://registry.npmjs.org/grunt-contrib-uglify
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin
npm http GET https://registry.npmjs.org/grunt-contrib-less/0.11.1
npm http GET https://registry.npmjs.org/grunt-contrib-coffee
npm http GET https://registry.npmjs.org/grunt-sync
npm http GET https://registry.npmjs.org/express-handlebars
npm http GET https://registry.npmjs.org/skipper
npm http GET https://registry.npmjs.org/merge-defaults
npm http GET https://registry.npmjs.org/anchor
npm http GET https://registry.npmjs.org/mock-req/0.1.0
npm http GET https://registry.npmjs.org/mock-res/0.1.0
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/captains-log
npm http GET https://registry.npmjs.org/captains-log/-/captains-log-0.11.11.tgz
npm http 200 https://registry.npmjs.org/waterline
npm http 200 https://registry.npmjs.org/sails-stringfile
npm http 200 https://registry.npmjs.org/rc
npm http GET https://registry.npmjs.org/waterline/-/waterline-0.10.11.tgz
npm http GET https://registry.npmjs.org/sails-stringfile/-/sails-stringfile-0.3.2.tgz
npm http 200 https://registry.npmjs.org/captains-log/-/captains-log-0.11.11.tgz
npm http GET https://registry.npmjs.org/rc/-/rc-0.5.1.tgz
npm http 200 https://registry.npmjs.org/connect-flash
npm http 200 https://registry.npmjs.org/socket.io
npm http 200 https://registry.npmjs.org/node-uuid
npm http 200 https://registry.npmjs.org/sails-util
npm http 200 https://registry.npmjs.org/waterline/-/waterline-0.10.11.tgz
npm http 200 https://registry.npmjs.org/pluralize
npm http 200 https://registry.npmjs.org/sails-stringfile/-/sails-stringfile-0.3.2.tgz
npm http GET https://registry.npmjs.org/connect-flash/-/connect-flash-0.1.1.tgz
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.9.17.tgz
npm http 200 https://registry.npmjs.org/rc/-/rc-0.5.1.tgz
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http 200 https://registry.npmjs.org/i18n
npm http GET https://registry.npmjs.org/sails-util/-/sails-util-0.10.4.tgz
npm http 200 https://registry.npmjs.org/express/3.4.3
npm http GET https://registry.npmjs.org/pluralize/-/pluralize-0.0.12.tgz
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/esprima
npm http 200 https://registry.npmjs.org/connect-flash/-/connect-flash-0.1.1.tgz
npm http 200 https://registry.npmjs.org/socket.io/-/socket.io-0.9.17.tgz
npm http 200 https://registry.npmjs.org/reportback
npm http 200 https://registry.npmjs.org/ejs-locals
npm http 200 https://registry.npmjs.org/sails-util/-/sails-util-0.10.4.tgz
npm http GET https://registry.npmjs.org/i18n/-/i18n-0.5.0.tgz
npm http 200 https://registry.npmjs.org/pluralize/-/pluralize-0.0.12.tgz
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http GET https://registry.npmjs.org/express/-/express-3.4.3.tgz
npm http GET https://registry.npmjs.org/reportback/-/reportback-0.1.8.tgz
npm http GET https://registry.npmjs.org/ejs-locals/-/ejs-locals-1.0.2.tgz
npm http 200 https://registry.npmjs.org/ejs
npm http 200 https://registry.npmjs.org/fs-extra
npm http 200 https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/i18n/-/i18n-0.5.0.tgz
npm http 200 https://registry.npmjs.org/express/-/express-3.4.3.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-copy
npm http 200 https://registry.npmjs.org/reportback/-/reportback-0.1.8.tgz
npm http 200 https://registry.npmjs.org/grunt/0.4.2
npm http 200 https://registry.npmjs.org/sails-disk
npm http 200 https://registry.npmjs.org/ejs-locals/-/ejs-locals-1.0.2.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-clean
npm http GET https://registry.npmjs.org/ejs/-/ejs-0.8.8.tgz
npm http GET https://registry.npmjs.org/fs-extra/-/fs-extra-0.8.1.tgz
npm http 200 https://registry.npmjs.org/sails-generate
npm http 200 https://registry.npmjs.org/sails-build-dictionary
npm http GET https://registry.npmjs.org/commander/-/commander-2.1.0.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-watch
npm http 200 https://registry.npmjs.org/grunt-contrib-uglify
npm http 200 https://registry.npmjs.org/grunt-contrib-concat
npm http 200 https://registry.npmjs.org/grunt-contrib-jst
npm http 200 https://registry.npmjs.org/grunt-contrib-cssmin
npm http 200 https://registry.npmjs.org/grunt-contrib-coffee
npm http GET https://registry.npmjs.org/grunt/-/grunt-0.4.2.tgz
npm http 200 https://registry.npmjs.org/ejs/-/ejs-0.8.8.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-less/0.11.1
npm http 200 https://registry.npmjs.org/fs-extra/-/fs-extra-0.8.1.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-0.5.0.tgz
npm http GET https://registry.npmjs.org/sails-disk/-/sails-disk-0.10.4.tgz
npm http 200 https://registry.npmjs.org/grunt-sync
npm http 200 https://registry.npmjs.org/skipper
npm http 200 https://registry.npmjs.org/commander/-/commander-2.1.0.tgz
npm http 200 https://registry.npmjs.org/merge-defaults
npm http GET https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-0.5.0.tgz
npm http 200 https://registry.npmjs.org/express-handlebars
npm http 200 https://registry.npmjs.org/grunt/-/grunt-0.4.2.tgz
npm http 200 https://registry.npmjs.org/anchor
npm http 200 https://registry.npmjs.org/grunt-sails-linker
npm http 200 https://registry.npmjs.org/mock-req/0.1.0
npm http 200 https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-0.5.0.tgz
npm http 200 https://registry.npmjs.org/mock-res/0.1.0
npm http GET https://registry.npmjs.org/sails-generate/-/sails-generate-0.11.6.tgz
npm http 200 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/esprima
npm http 200 https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/sails-build-dictionary/-/sails-build-dictionary-0.10.1.tgz
npm http 200 https://registry.npmjs.org/prompt
npm http 200 https://registry.npmjs.org/sails-disk/-/sails-disk-0.10.4.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-0.5.3.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.4.1.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-0.3.0.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-0.5.0.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-jst/-/grunt-contrib-jst-0.6.0.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-0.9.0.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-coffee/-/grunt-contrib-coffee-0.10.1.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-0.3.0.tgz
npm http GET https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-0.11.1.tgz
npm http 200 https://registry.npmjs.org/sails-generate/-/sails-generate-0.11.6.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-jst/-/grunt-contrib-jst-0.6.0.tgz
npm http GET https://registry.npmjs.org/grunt-sync/-/grunt-sync-0.0.8.tgz
npm http GET https://registry.npmjs.org/skipper/-/skipper-0.5.3.tgz
npm http GET https://registry.npmjs.org/merge-defaults/-/merge-defaults-0.1.4.tgz
npm http GET https://registry.npmjs.org/express-handlebars/-/express-handlebars-1.0.3.tgz
npm http GET https://registry.npmjs.org/anchor/-/anchor-0.10.1.tgz
npm http 200 https://registry.npmjs.org/sails-build-dictionary/-/sails-build-dictionary-0.10.1.tgz
npm http GET https://registry.npmjs.org/grunt-sails-linker/-/grunt-sails-linker-0.9.5.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-0.9.0.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-coffee/-/grunt-contrib-coffee-0.10.1.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-0.11.1.tgz
npm http GET https://registry.npmjs.org/mock-req/-/mock-req-0.1.0.tgz
npm http GET https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz
npm http 200 https://registry.npmjs.org/grunt-sync/-/grunt-sync-0.0.8.tgz
npm http GET https://registry.npmjs.org/semver/-/semver-2.2.1.tgz
npm http 200 https://registry.npmjs.org/skipper/-/skipper-0.5.3.tgz
npm http GET https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http GET https://registry.npmjs.org/mock-res/-/mock-res-0.1.0.tgz
npm http 200 https://registry.npmjs.org/merge-defaults/-/merge-defaults-0.1.4.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-0.4.1.tgz
npm http 200 https://registry.npmjs.org/express-handlebars/-/express-handlebars-1.0.3.tgz
npm http GET https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz
npm http 200 https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-0.5.3.tgz
npm http 200 https://registry.npmjs.org/anchor/-/anchor-0.10.1.tgz
npm http 200 https://registry.npmjs.org/grunt-sails-linker/-/grunt-sails-linker-0.9.5.tgz
npm http 200 https://registry.npmjs.org/mock-req/-/mock-req-0.1.0.tgz
npm http 200 https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz
npm http 200 https://registry.npmjs.org/semver/-/semver-2.2.1.tgz
npm http 200 https://registry.npmjs.org/mock-res/-/mock-res-0.1.0.tgz
npm http 200 https://registry.npmjs.org/prompt/-/prompt-0.2.14.tgz
npm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http GET https://registry.npmjs.org/node-switchback/0.0.4
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/clean-css
npm http GET https://registry.npmjs.org/maxmin
npm http GET https://registry.npmjs.org/grunt-lib-contrib
npm http 200 https://registry.npmjs.org/maxmin
npm http 200 https://registry.npmjs.org/chalk
npm http 200 https://registry.npmjs.org/node-switchback/0.0.4
npm http 200 https://registry.npmjs.org/grunt-lib-contrib
npm http GET https://registry.npmjs.org/less
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/maxmin/-/maxmin-0.1.0.tgz
npm WARN deprecated grunt-lib-contrib@0.7.1: DEPRECATED. See readme: https://github.com/gruntjs/grunt-lib-contrib
npm http GET https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz
npm http 200 https://registry.npmjs.org/clean-css
npm http GET https://registry.npmjs.org/node-switchback/-/node-switchback-0.0.4.tgz
npm http GET https://registry.npmjs.org/grunt-lib-contrib/-/grunt-lib-contrib-0.7.1.tgz
npm http GET https://registry.npmjs.org/promised-io/0.3.3
npm http 200 https://registry.npmjs.org/less
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/maxmin/-/maxmin-0.1.0.tgz
npm http 200 https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz
npm http 200 https://registry.npmjs.org/node-switchback/-/node-switchback-0.0.4.tgz
npm http GET https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm http 200 https://registry.npmjs.org/grunt-lib-contrib/-/grunt-lib-contrib-0.7.1.tgz
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/coffee-script/-/coffee-script-1.7.1.tgz
npm http 200 https://registry.npmjs.org/promised-io/0.3.3
npm http 200 https://registry.npmjs.org/clean-css/-/clean-css-2.1.8.tgz
npm http 200 https://registry.npmjs.org/coffee-script/-/coffee-script-1.7.1.tgz
npm http 200 https://registry.npmjs.org/uglify-js
npm ERR! Error: ENOENT, chmod 'D:\home\site\repository\node_modules\sails\node_modules\i18n\.travis.yml'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\i18n\.travis.yml
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\i18n\.travis.yml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'D:\home\site\repository\node_modules\sails\node_modules\semver'
npm ERR! error rolling back  sails@0.10.5 { [Error: ENOTEMPTY, rmdir 'D:\home\site\repository\node_modules\sails\node_modules\semver']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 'D:\\home\\site\\repository\\node_modules\\sails\\node_modules\\semver' }
npm ERR! Error: No compatible version found: chalk@'^0.4.0'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.5.1"]
npm ERR!     at installTargetsError (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\lib\cache.js:685:10)
npm ERR!     at D:\Program Files (x86)\npm\1.2.18\node_modules\npm\lib\cache.js:607:10
npm ERR!     at RegClient.get_ (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\npm-registry-client\lib\get.js:101:14)
npm ERR!     at RegClient.<anonymous> (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\npm-registry-client\lib\get.js:37:12)
npm ERR!     at fs.js:266:14
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\prompt\examples\simple-prompt.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\prompt\examples\simple-prompt.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\prompt\examples\simple-prompt.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\captains-log\test\basic.test.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\captains-log\test\basic.test.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\captains-log\test\basic.test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-watch\docs\watch-examples.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-watch\docs\watch-examples.md
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-watch\docs\watch-examples.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, chmod 'D:\home\site\repository\node_modules\sails\node_modules\fs-extra\lib\remove.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\fs-extra\lib\remove.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\fs-extra\lib\remove.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, open 'D:\home\site\repository\node_modules\sails\node_modules\express-handlebars\lib\utils.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\express-handlebars\lib\utils.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\sails-generate\lib\util.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\sails-generate\lib\util.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\sails-generate\lib\util.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\anchor\lib\match\rules.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\anchor\lib\match\rules.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\anchor\lib\match\rules.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\ejs\lib\ejs.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\ejs\lib\ejs.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\ejs\lib\ejs.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/waterline-criteria
npm http GET https://registry.npmjs.org/waterline-errors
npm http GET https://registry.npmjs.org/waterline-cursor
npm ERR! Error: ENOENT, open 'D:\home\site\repository\node_modules\sails\node_modules\skipper\lib\Parser\Parser.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\skipper\lib\Parser\Parser.js
npm ERR! code ENOENT
npm ERR! errno 34
npm http GET https://registry.npmjs.org/promised-io/-/promised-io-0.3.3.tgz
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\waterline\lib\waterline.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\waterline\lib\waterline.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\waterline\lib\waterline.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\semver\semver.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\semver\semver.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\semver\semver.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/waterline-cursor
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt\lib\grunt\file.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt\lib\grunt\file.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt\lib\grunt\file.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/promised-io/-/promised-io-0.3.3.tgz
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\express\History.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\express\History.md
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\express\History.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\sails-util\docs\cli.html'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\sails-util\docs\cli.html
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\sails-util\docs\cli.html
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/waterline-cursor/-/waterline-cursor-0.0.5.tgz
npm http 200 https://registry.npmjs.org/waterline-errors
npm http 200 https://registry.npmjs.org/waterline-criteria
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\async\lib\async.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\async\lib\async.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\async\lib\async.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/waterline-errors/-/waterline-errors-0.10.1.tgz
npm http GET https://registry.npmjs.org/waterline-criteria/-/waterline-criteria-0.10.7.tgz
npm http 200 https://registry.npmjs.org/waterline-cursor/-/waterline-cursor-0.0.5.tgz
npm http 200 https://registry.npmjs.org/waterline-criteria/-/waterline-criteria-0.10.7.tgz
npm http 200 https://registry.npmjs.org/waterline-errors/-/waterline-errors-0.10.1.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/strip-ansi
npm http 200 https://registry.npmjs.org/has-color
npm http 200 https://registry.npmjs.org/ansi-styles
npm http 200 https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz
npm http GET https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz
npm http GET https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz
npm http 200 https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz
npm http 200 https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz
npm http 200 https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz
npm http GET https://registry.npmjs.org/strip-path
npm http 200 https://registry.npmjs.org/strip-path
npm http GET https://registry.npmjs.org/strip-path/-/strip-path-0.1.1.tgz
npm http 200 https://registry.npmjs.org/strip-path/-/strip-path-0.1.1.tgz
npm http GET https://registry.npmjs.org/async/-/async-0.9.0.tgz
npm http GET https://registry.npmjs.org/gzip-size
npm http GET https://registry.npmjs.org/pretty-bytes
npm http 200 https://registry.npmjs.org/async/-/async-0.9.0.tgz
npm http 200 https://registry.npmjs.org/gzip-size
npm http 200 https://registry.npmjs.org/pretty-bytes
npm ERR! Error: ENOENT, chmod 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\ansi-styles\ansi-styles.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\ansi-styles\ansi-styles.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\ansi-styles\ansi-styles.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\has-color\index.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\has-color\index.js
An error has occurred during web site deployment.
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\has-color\index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: EPERM, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\strip-ansi\cli.js'
npm ERR!  { [Error: EPERM, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\strip-ansi\cli.js']
npm ERR!   errno: 50,
npm ERR!   code: 'EPERM',
npm ERR!   path: 'D:\\home\\site\\repository\\node_modules\\sails\\node_modules\\grunt-contrib-cssmin\\node_modules\\chalk\\node_modules\\strip-ansi\\cli.js',
npm ERR!   fstream_type: 'File',
npm ERR!   fstream_path: 'D:\\home\\site\\repository\\node_modules\\sails\\node_modules\\grunt-contrib-cssmin\\node_modules\\chalk\\node_modules\\strip-ansi\\cli.js',
npm ERR!   fstream_class: 'FileWriter',
npm ERR!   fstream_stack: 
npm ERR!    [ 'D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\node_modules\\fstream\\lib\\writer.js:284:26',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\strip-ansi\cli.js
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\strip-ansi\cli.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\chalk\node_modules\strip-ansi\cli.js'
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\clean-css'
npm ERR! error rolling back  grunt-contrib-cssmin@0.9.0 { [Error: ENOTEMPTY, rmdir 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\clean-css']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 'D:\\home\\site\\repository\\node_modules\\sails\\node_modules\\grunt-contrib-cssmin\\node_modules\\clean-css' }
npm ERR! Error: ENOENT, lstat 'D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\clean-css\History.md'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
 npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.5\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.18\\node_modules\\npm\\bin\\npm-cli.js" "install" "--development"
npm ERR! cwd D:\home\site\repository
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\clean-css\History.md
npm ERR! fstream_path D:\home\site\repository\node_modules\sails\node_modules\grunt-contrib-cssmin\node_modules\clean-css\History.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm


frejnorling.com


Sponsored



Replies

David Ebbo on Mon, 06 Oct 2014 22:55:39


Are you able to repro the same thing when you run npm directly from Kudu console? That would isolate the issue from anything related to git deployment. Maybe it comes down to one specific npm package that doesn't work?

Frej Norling on Tue, 07 Oct 2014 07:37:45


What I'v read is that Azure does not have support for some "native" packages, some packages that use node-yup. Therefor the only possible way is to checkin your node_modules folder into git and deploy that to Azure.

I have now gotten to the point where I have all packages in the wwwroot on Azure, but getting the following error:

iisnode encountered an error when processing the request.

HRESULT: 0x2
HTTP status: 500
HTTP subStatus: 1001
HTTP reason: Internal Server Error

So I have a new fight to fight with Azure!



frej.co


David Ebbo on Tue, 07 Oct 2014 10:15:40


Using Kudu Console, can you check if there is a log file under LogFiles\Application? If so, it should contain more info about the error.

Frej Norling on Tue, 07 Oct 2014 14:53:10


I got Kudu Console up and running. Startet to remove dependencies from packages.json.

After I removed 2 of the packages I suspected beeing the bad ones I got it to run deploy.cmd and also a custom grunt task from a local git push to Azure remote.

There is a couple of deep dependencies inside 2 of the packages that use either node-gyp or python.

So the question is, how can I work around this?

I would really love to use Azure Websites instead of Web roles. I like the easy management of Websites.

WZhao on Wed, 08 Oct 2014 09:29:33


Does this mean some module doesn't like the default node version v0.10.5?

npm ERR! Error: No compatible version found: chalk@'^0.4.0'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.5.1"]
npm ERR!     at installTargetsError (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\lib\cache.js:685:10)
npm ERR!     at D:\Program Files (x86)\npm\1.2.18\node_modules\npm\lib\cache.js:607:10
npm ERR!     at RegClient.get_ (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\npm-registry-client\lib\get.js:101:14)
npm ERR!     at RegClient.<anonymous> (D:\Program Files (x86)\npm\1.2.18\node_modules\npm\node_modules\npm-registry-client\lib\get.js:37:12)
npm ERR!     at fs.js:266:14
npm ERR!     at Object.oncomplete (fs.js:107:15)

Frej Norling on Thu, 09 Oct 2014 15:07:45


I think that might be the cause that chalk can't install a version like 0.4.>0. I don´t know. 

I will try again to checkin the node_modules dir and se if that will work.

Frej Norling on Thu, 09 Oct 2014 22:06:16


I got it working by adding the whole node_modules to git and pushed it to Azure Websites. Then everything is working! No runtime uses node-gyp or python!

Thanks