Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with forceLocal: true (Windows) #25

Open
Sogl opened this issue Dec 8, 2015 · 0 comments
Open

Error with forceLocal: true (Windows) #25

Sogl opened this issue Dec 8, 2015 · 0 comments

Comments

@Sogl
Copy link

Sogl commented Dec 8, 2015

Hi!

I tried to use your installer with Koala Framework. See last messages in this thread:
koala-framework/koala-framework#349

My composer.json:

{
    "require": {
        "koala-framework/koala-framework": "3.8.x-dev",
        "phpoffice/phpexcel": "1.8.1"
    },
    "extra": {
        "mouf": {
            "nodejs": {
                "version": "~0.12",
                "targetDir": "vendor/nodejs/nodejs",
                "forceLocal": true
            }
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Output after composer update:

c:\OpenServer\domains\aviashelf2>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
Installing NodeJS v0.12.9
  Downloading from https://nodejs.org/dist/v0.12.9/node.exe
    Downloading: 100%
    Downloading: 100%


-


\


|


/


-


\


|


/


-
(SO MUCH LINES OF THIS SYMBOLS! )
-


\


|


/


-

npm ERR! Error: write EPIPE
npm ERR!     at exports._errnoException (util.js:746:11)
npm ERR!     at Socket._writeGeneric (net.js:692:26)
npm ERR!     at Socket._write (net.js:711:8)
npm ERR!     at doWrite (_stream_writable.js:301:12)
npm ERR!     at writeOrBuffer (_stream_writable.js:288:5)
npm ERR!     at Socket.Writable.write (_stream_writable.js:217:11)
npm ERR!     at Socket.write (net.js:636:40)
npm ERR!     at Console.log (console.js:55:16)
npm ERR!     at C:\OpenServer\domains\aviashelf2\vendor\nodejs\nodejs\node_modules\npm\lib\install.js:100:27
npm ERR!     at C:\OpenServer\domains\aviashelf2\vendor\nodejs\nodejs\node_modules\npm\lib\install.js:194:5
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\OpenServer\\domains\\aviashelf2\\vendor\\nodejs\\nodejs\\\\node.exe" "C:\\OpenServer\\domains\\aviashelf2\\vendor\\nodejs\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "update" "npm"
npm ERR! cwd C:\OpenServer\domains\aviashelf2\vendor\nodejs\nodejs
npm ERR! node -v v0.12.9
npm ERR! npm -v 1.4.12
npm ERR! syscall write
npm ERR! code EPIPE
npm ERR! errno EPIPE

/
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\OpenServer\domains\aviashelf2\vendor\nodejs\nodejs\npm-debug.log

npm ERR! not ok code 0



  [Mouf\NodeJsInstaller\NodeJsInstallerException]
  An error occurred while updating NPM to latest version.



update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--] [<packages>]...



c:\OpenServer\domains\aviashelf2>

Works only with second attempt:

c:\OpenServer\domains\aviashelf2>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Installing NodeJS v0.12.9
  Downloading from https://nodejs.org/dist/v0.12.9/node.exe
    Downloading: 100%
    Downloading: 100%

(MANY UNUSEFUL LINES! )

[email protected] node_modules\npm

installing npm dependencies in 'C:\OpenServer\domains\aviashelf2/vendor/koala-framework/koala-framework'...
npm WARN temp-composer-extra-asssets@ No license field.
npm WARN package.json temp-composer-extra-asssets@ No license field.

installing bower dependencies...

c:\OpenServer\domains\aviashelf2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant