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

Installation fails with "Error: spawn EPERM" #6

Open
sgrossberndt opened this issue Mar 29, 2019 · 1 comment
Open

Installation fails with "Error: spawn EPERM" #6

sgrossberndt opened this issue Mar 29, 2019 · 1 comment

Comments

@sgrossberndt
Copy link

On creating a TYPO3 extension using https://sitepackagebuilder.com/new/ and running npm install in the Build/ directory the installation fails on a Windows 10 machine with node v10.15.3 and npm v6.4.1

"C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" install --scripts-prepend-node-path=auto

> [email protected] postinstall Z:\myextension\Build\node_modules\advpng-bin
> node lib/install.js

internal/child_process.js:366
    throw errnoException(err, 'spawn');
    ^

Error: spawn EPERM
    at ChildProcess.spawn (internal/child_process.js:366:11)
    at spawn (child_process.js:538:9)
    at Z:\myextension\Build\node_modules\bin-check\index.js:22:12
    at Z:\myextension\Build\node_modules\executable\index.js:27:4
    at FSReqWrap.oncomplete (fs.js:154:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     D:\Users\User\AppData\Roaming\npm-cache\_logs\2019-03-29T09_40_16_851Z-debug.log

Process finished with exit code 1
@sgrossberndt
Copy link
Author

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