'Keystone upgrade relationships' gives error when using TypeScript with subdirectory for build
See original GitHub issueI have a Keystone project in Typescript that builds to the subdirectory tsout
// from tsconfig.json
"compilerOptions": {
...
"outDir": "tsout",
...
},
When I run keystone upgrade relationships
I get
ℹ Command: keystone upgrade-relationships
✖
Error: --entry=index.js was passed to keystone, but 'index.js' couldn't be found in /Users/ranthony/Documents/projects/yaa-cms.
My package.json
script is
"dev": "tsc && cross-env NODE_ENV=development DISABLE_LOGGING=true keystone --entry=tsout/index.js dev --port=4545",
Coincidentally I get a similar error when trying to debug under WebStorm:
/Users/ranthony/.nvm/versions/node/v12.14.0/bin/node /Users/ranthony/Documents/projects/yaa-cms/node_modules/@keystonejs/keystone/bin/cli.js dev
Debugger listening on ws://127.0.0.1:57962/6784997d-5f53-4000-bf21-311cf38412b3
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
- Initialising Keystone CLI
ℹ Command: keystone dev
-
✖ Validating project entry file
Error: --entry=index.js was passed to keystone, but 'index.js' couldn't be found in /Users/ranthony/Documents/projects/yaa-cms.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
TypeScript `tsc` not picking up tsconfig.json inside a ...
It feels to me that running a single tsc with nested tsconfig.json files should give me the desired results.) Anyone know what it...
Read more >VS Code Does Not Recognize TSConfig Settings in ... - GitHub
Create tsconfig.json under subdirectory (in my case, a new folder in the root of the project called "config"); Add values to the tsconfig...
Read more >rushstack/rushstack - Gitter
An NPM package that gives you TypeScript+Jest+Webpack+ESLint+etc in a nice ... then through to a particular "app" project to build a keystone project....
Read more >Pipelines | CI/CD | OpenShift Container Platform 4.8
This guide provides a detailed view of the various pipeline concepts. ... operator : Specifies the relationship of an input to a set...
Read more >Untitled
Type 1 error pdf, Deutsche bahn schienennetz km! Ismael serrano recuerdo mp3 descargar, Bandas mimizan, Bursaspor sivasspor izle, Writenodefile, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Doh!
My bad, that should be
--entry=
, not--index=
.