Skip to content

Commit f83de0b

Browse files
authored
Merge pull request #13 from storefront-foundation/fix-for-npm
Fix for newer npm versions
2 parents 98bb85f + 11ebd46 commit f83de0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/create-react-storefront-internal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const createReactStorefrontInternal = async (options, userConfig) => {
6666

6767
try {
6868
spinner = ora('Installing dependencies...').start()
69-
await exec('npm install --registry=https://npm-proxy.fury.io/moovweb/', { cwd: targetPath })
69+
await exec('npm install --registry=https://npm-proxy.fury.io/moovweb/ --legacy-peer-deps', { cwd: targetPath })
7070
spinner.succeed('Installing dependencies... done.')
7171
} catch (e) {
7272
spinner.fail('npm install failed')

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-storefront",
3-
"version": "8.1.0",
3+
"version": "8.1.1",
44
"description": "A CLI for creating React Storefront apps.",
55
"main": "index.js",
66
"dependencies": {

0 commit comments

Comments
 (0)