diff --git a/package.json b/package.json index 4effef8..e3de704 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "packd", - "version": "2.6.1", + "version": "2.6.3", "description": "Simple alternative to browserify-cdn", "scripts": { "start": "node server", diff --git a/server/child-processes/create-bundle.js b/server/child-processes/create-bundle.js index a580969..f34ee47 100644 --- a/server/child-processes/create-bundle.js +++ b/server/child-processes/create-bundle.js @@ -114,7 +114,7 @@ function installDependencies ( cwd ) { return promise.then( () => { info( `[${pkg.name}] installing peer dependency ${name}` ); const version = pkg.peerDependencies[ name ]; - return exec( `${root}/node_modules/.bin/npm install ${name}@${version}`, cwd, pkg ); + return exec( `${root}/node_modules/.bin/npm install "${name}@${version}"`, cwd, pkg ); }); }, Promise.resolve() ); });