Skip to content

Commit

Permalink
Merge branch 'STCLI-155' of https://github.com/folio-org/stripes-cli
Browse files Browse the repository at this point in the history
…into STCLI-155
  • Loading branch information
ryandberger committed Jan 24, 2022
2 parents 1897b6c + a887dad commit 821533e
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions doc/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,13 @@ ERROR in multi webpack-hot-middleware/client typeface-source-sans-pro @folio/str
Module not found: Error: Can't resolve 'babel-loader' in 'C:\Users\mattjones\projects\folio\ui-users'
```

The interim solution is to include `stripes-core` locally in your platform's dependencies, or in the case of an app, create an alias to clone of stripes-core.
The interim solution is to include `stripes-core` locally in your platform's dependencies, or in the case of an app, create a workspace which includes stripes-core.

Install stripes-core:
Create workspace with stripes-core:
```
$ git clone https://github.com/folio-org/stripes-core.git
$ cd stripes-core
$ yarn install
```

Create an alias:
```
$ stripes alias add @folio/stripes-core ..path/to/stripes-core
```

Alternatively, update your `.stripesclirc` configuration:
```
{
"aliases": {
"@folio/stripes-core": "..path/to/stripes-core"
}
}
$ stripes workspace
```
From interactive menu, select stripes-core along with any other modules you plan to modify.

## Global install not detected

Expand Down

0 comments on commit 821533e

Please sign in to comment.