JustCodeItAll
JustCodeItAll
Explore posts from servers
RRefine
Created by conscious-sapphire on 6/1/2023 in #ask-any-question
does refine fully support Nextjs?
I mainly use Next JS, I might go with PlanetScale for my DB instead of Supabase
5 replies
RRefine
Created by other-emerald on 5/16/2023 in #ask-any-question
nextjs project wont show after i install NPM package
I created a Nextjs, Materiual-UI, Supabase/Supabase project,,, I installed Styled-Compomnents And now it wont show, it errors and gives me this:
Node.js v18.15.0
Starting the development server...

at makeError (/Users/MYMAC/Desktop/refine-react-app/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/MYMAC/Desktop/refine-react-app/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async D (/Users/MYMAC/Desktop/refine-react-app/node_modules/@refinedev/cli/dist/cli.js:22:330) {
shortMessage: 'Command failed with exit code 1: /Users/MYMAC/Desktop/refine-react-app/node_modules/react-scripts/bin/react-scripts.js start',
command: '/Users/bretemmerich/Desktop/refine-react-app/node_modules/react-scripts/bin/react-scripts.js start',
Node.js v18.15.0
Starting the development server...

at makeError (/Users/MYMAC/Desktop/refine-react-app/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/MYMAC/Desktop/refine-react-app/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async D (/Users/MYMAC/Desktop/refine-react-app/node_modules/@refinedev/cli/dist/cli.js:22:330) {
shortMessage: 'Command failed with exit code 1: /Users/MYMAC/Desktop/refine-react-app/node_modules/react-scripts/bin/react-scripts.js start',
command: '/Users/bretemmerich/Desktop/refine-react-app/node_modules/react-scripts/bin/react-scripts.js start',
It kinda looks like my tsconfig.json is diffrent: PREVIOUS:….
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "src",
"paths": {
"*": ["./*"]
}
},
"include": ["src"]
}
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "src",
"paths": {
"*": ["./*"]
}
},
"include": ["src"]
}
AFTER ADDING STYLED COMPONENTS:
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
},
"include": [
"src"
]
}
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
},
"include": [
"src"
]
}
11 replies
RRefine
Created by eastern-cyan on 5/13/2023 in #ask-any-question
error “can’t find module @test, and something about children any
It errors saying that it can’t find a module “@test”, then it says that It needs “‘{children: any }” added. I do that, and it just errors WHAT IS WRONG???
5 replies
RRefine
Created by competitive-rose on 5/12/2023 in #ask-any-question
do i need to create another project for the front end of my project?
I created a project, Nextjs, MaterialUI and Supabase… When i go to localhiost 3000, it just gives me the backend, Where is the FrontEnd??? Do i need to create another project for that?
10 replies