Comments (5)
Also I was not able to start the application on linux. I have built files. I have migrated and seeded the database. But when I run start I get sql select error telling me something about unexistent table.
from apollo-universal-starter-kit.
> [email protected] start C:\Projekty\apollo-fullstack-starter-kit-master
> node --harmony ./build/server
"createFragment" is deprecated and will be removed in version 0.6, please refer to the documentation for how to define fragments: http://dev.apollodata.com/react/fragments.html.
backend info API is now running on port 8080
Error: SQLITE_ERROR: no such table: count
backend error RENDERING ERROR: { Error
at new ApolloError (C:\Projekty\apollo-fullstack-starter-kit-master\src\errors\ApolloError.ts:61:18)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:367:31
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1057:13
at Array.forEach (native)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1052:19
at C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\_createBaseFor.js:17:11
at baseForOwn (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\_baseForOwn.js:13:20)
at forOwn (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\forOwn.js:33:20)
at QueryManager.broadcastQueries (C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1047:5)
at Array.<anonymous> (C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:234:14)
at dispatch (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\redux\lib\createStore.js:186:19)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\ApolloClient.ts:504:24
at Object.dispatch (C:\Projekty\apollo-fullstack-starter-kit-master\src\store.ts:72:12)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:952:22
at process._tickCallback (internal/process/next_tick.js:103:7)
graphQLErrors:
[ { message: 'select * from "count" limit 1 - SQLITE_ERROR: no such table: count',
locations: [ [Object] ] } ],
networkError: null,
message: 'GraphQL error: select * from "count" limit 1 - SQLITE_ERROR: no such table: count',
extraInfo: undefined }
Error: SQLITE_ERROR: no such table: count
backend error RENDERING ERROR: { Error
at new ApolloError (C:\Projekty\apollo-fullstack-starter-kit-master\src\errors\ApolloError.ts:61:18)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:367:31
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1057:13
at Array.forEach (native)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1052:19
at C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\_createBaseFor.js:17:11
at baseForOwn (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\_baseForOwn.js:13:20)
at forOwn (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\lodash\forOwn.js:33:20)
at QueryManager.broadcastQueries (C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:1047:5)
at Array.<anonymous> (C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:234:14)
at dispatch (C:\Projekty\apollo-fullstack-starter-kit-master\node_modules\redux\lib\createStore.js:186:19)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\ApolloClient.ts:504:24
at Object.dispatch (C:\Projekty\apollo-fullstack-starter-kit-master\src\store.ts:72:12)
at C:\Projekty\apollo-fullstack-starter-kit-master\src\core\QueryManager.ts:952:22
at process._tickCallback (internal/process/next_tick.js:103:7)
graphQLErrors:
[ { message: 'select * from "count" limit 1 - SQLITE_ERROR: no such table: count',
locations: [ [Object] ] } ],
networkError: null,
message: 'GraphQL error: select * from "count" limit 1 - SQLITE_ERROR: no such table: count',
extraInfo: undefined }
from apollo-universal-starter-kit.
You are running undocumented commands. Please either follow instruction exactly as provided in Readme or investigate things yourself, the application is not complex.
from apollo-universal-starter-kit.
@developer239 The problem, you have in the first comment is difficult for me to diagnose, because there is no relevant information in the error message from npm. Please try to localize offending code yourself.
The problem in your 3rd comment with missing count
table is because you run migrate in dev mode and you are running Node.js app in prod mode, hence it complains that count
table is missing in ./prod-db.sqlite3
.
Either start app in dev mode e.g. npm start
or run seed and migrate in prod mode via npm i --prod
- this will run postinstall script in prod mode which runs seed and migrate for prod database.
from apollo-universal-starter-kit.
Closing because of inactivity. Please reopen when you will have the time to discuss this issue.
from apollo-universal-starter-kit.
Related Issues (20)
- Multi Config Setup HOT 2
- Can't fully install dependencies after fresh download - expo-yarn-workspace postinstall fails HOT 4
- lerna stdout maxBuffer exceeded HOT 7
- [Question] Are there any plans to shift to any other package manager since lerna is no longer properly maintained. HOT 5
- Unable to perform a full page reload on edit post page in React Client. HOT 2
- Tests fail after clean installation
- feedback
- Update dependency react-navigation HOT 1
- How can i connect it with my Hasura database?
- Plans to upgrade to webpack 5 HOT 3
- Fail to build on a clean Fedora 33 installation
- Expo Go Android will not run. Says wrong sdk version of expo HOT 1
- New @server app dependencies install error (ambiguous syntax error)
- Standalone use
- master does not work
- Upgrade expo to latest SDK HOT 6
- Setting i18n debug to true reveals several potential issues
- Router is not worked ! HOT 6
- ..
- Demo app link on the readme file not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-universal-starter-kit.