npm install not working via php system() (exec / shell_exec)
问题 I am installing gulp-sass among other packages using npm install. This works fine using CLI (with sudo su forge): cd /path/to/package.json/ npm install The package.json look like: { "name": "skeleton", "version": "1.0.0", "authors": [ "Me <me@mycompany.co.uk>" ], "private": true, "devDependencies": { "gulp": "^3.8.11", "gulp-autoprefixer": "^2.1.0", "gulp-concat": "^2.5.2", "gulp-minify-css": "^1.0.0", "gulp-notify": "^2.2.0", "gulp-sass": "^1.3.3", "gulp-sourcemaps": "^1.5.2", "gulp-uglify":