Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (22 loc) · 942 Bytes

TROUBLESHOOTING.md

File metadata and controls

37 lines (22 loc) · 942 Bytes

Troubleshooting

Common error messages

Error: Cannot find module '../lib'

Make sure all typescript has been built and copied to ./lib/.

npm run build

Error: Cannot find module 'tslib'

Make sure node_modules have been installed and/or updated.

npm ci

.git/hooks/pre-commit: line 2: ./node_modules/.bin/lint-staged: No such file or directory

This one is also related to node_modules.

npm ci

stderr:error: the server doesn't have a resource type "..."

Login to OpenShift. Tokens are available behind a login from the web console.

Error: EPERM: operation not permitted, rename '...' -> '...'

Several type definitions, like @types/rsync, will cause this error when used as prod dependencies. Review package.json dependencies and run npm i. Please be aware this will replace package-lock.json!.