Trouble running starter
See original GitHub issueI attempted to follow these instructions to try out Keystone:
$ npm init keystone-app keystone-app
(choose postgres and nuxt app)
$ cd keystone-app
$ yarn start
...
**If this is the first time you've run Keystone, you can create your database with the following command:
createdb keystone_app
✖ Connecting to database
Error: database "keystone_app" does not exist
...
This was my first problem. It was easy enough to run createdb keystone_app
but this wasn’t in the instructions. You should probably mention it in the instructions.
I tried again and I ran into Vue errors
$ yarn dev
yarn run v1.19.1
$ cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev
ℹ Command: keystone dev
✔ Validated project entry file ./index.js
✔ Keystone server listening on port 3000
✔ Initialised Keystone instance
⠋ Connecting to databaseℹ Preparing project for development 16:39:23
ℹ Initial build may take a while 16:39:23
⠹ Connecting to database✔ Builder initialized 16:39:23
⠴ Connecting to database✔ Nuxt files generated 16:39:24
✖ Client
Compiled with some errors in 12.85s
✔ Server
Compiled successfully in 10.00s
ERROR Failed to compile with 5 errors friendly-errors 16:39:38
These dependencies were not found: friendly-errors 16:39:38
friendly-errors 16:39:38
* core-js/modules/es6.regexp.to-string in ./dist/utils.js, ./dist/components/nuxt.js friendly-errors 16:39:38
* core-js/modules/es7.promise.finally in ./dist/client.js friendly-errors 16:39:38
* core-js/modules/es7.symbol.async-iterator in ./dist/client.js, ./dist/components/nuxt-link.client.js friendly-errors 16:39:38
friendly-errors 16:39:38
To install them, you can run: npm install --save core-js/modules/es6.regexp.to-string core-js/modules/es7.promise.finally core-js/modules/es7.symbol.async-iterator friendly-errors 16:39:38
ℹ Waiting for file changes 16:39:38
✔ Connected to database
✔ Keystone instance is ready at http://localhost:3000 🚀
🔗 Keystone Admin UI: http://localhost:3000/admin
🔗 GraphQL Playground: http://localhost:3000/admin/graphiql
🔗 GraphQL API: http://localhost:3000/admin/api
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"
found in
---> <Src/pages/index.vue> at src/pages/index.vue
<Nuxt>
<Dist/layouts/default.vue> at dist/layouts/default.vue
<Root>
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"
found in
---> <Src/pages/index.vue> at src/pages/index.vue
<Nuxt>
<Dist/layouts/default.vue> at dist/layouts/default.vue
<Root>
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"
found in
---> <Src/pages/index.vue> at src/pages/index.vue
<Nuxt>
<Dist/layouts/default.vue> at dist/layouts/default.vue
<Root>
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of null"
found in
---> <Src/pages/index.vue> at src/pages/index.vue
<Nuxt>
<Dist/layouts/default.vue> at dist/layouts/default.vue
<Root>
Tried running the suggested npm install --save core-js/modules/es6.regexp.to-string core-js/modules/es7.promise.finally core-js/modules/es7.symbol.async-iterator
but that failed.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:13 (2 by maintainers)
Top Results From Across the Web
8 Annoying Running Beginners Problems (SOLVED)!
1. Side stitches · 2. Stomach problems · 3. Sore muscles · 4. Breathing problems or shortness of breath · 5. Pain in...
Read more >Running for Beginners: How to Get Started - Verywell Fit
Take measured steps to keep your body safe and free from injury. First, do a warm-up before you start running. Walk or do...
Read more >How to Start Running: A Beginners Guide | REI Co-op
Try running for 1 minute, walking for 2 minutes and repeating. As you become more comfortable running, lengthen the time you do it....
Read more >Car Won't Start? 5 Signs of a Bad Starter
How do you troubleshoot starter problems? · 1. Look under the hood. · 2. Tap the starter. · 3. Adjust the transmission. ·...
Read more >What to Do If Your Car Won't Start | Family Handyman
If your car won't start, don't panic. There are a few things you can do to try and get it running before calling...
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
I tried the vanilla javascript “todos” app and this time visited the admin UI. I see an error:
Same problem with Postgres here. The
yarn dev
command reports it has “Connected to database” but it fails to create any tables in the database. As a result, the application does not work at all.