create-app: added explicit node-gyp dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Added an explicit `node-gyp` dependency to the root `package.json`. This is to work around a bug in older versions of `node-gyp` that causes Python execution to fail on macOS.
|
||||
|
||||
You can add this workaround to your existing project by adding `node-gyp` as a `devDependency` in your root `package.json` file:
|
||||
|
||||
```diff
|
||||
"devDependencies": {
|
||||
+ "node-gyp": "^9.0.0"
|
||||
},
|
||||
```
|
||||
@@ -35,7 +35,8 @@
|
||||
"concurrently": "^6.0.0",
|
||||
"lerna": "^4.0.0",
|
||||
"prettier": "^2.3.2",
|
||||
"typescript": "~4.6.4"
|
||||
"typescript": "~4.6.4",
|
||||
"node-gyp": "^9.0.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^17",
|
||||
|
||||
Reference in New Issue
Block a user