Comments (3)
Hi @undt , unfortunately I am unable to reproduce this error. Although from the error message it looks like you may have an extra }
somewhere in your config.json
file. Can you check if the json file has no syntax error?
from liveterm.
Using:
{
"readmeUrl": "https://raw.githubusercontent.com/cveinnt/cveinnt/master/README.md",
"title": "LiveTerm",
"name": "John Doe",
"ascii": "liveterm",
"social": {
"github": "github",
"linkedin": "linkedin"
},
"email": "[email protected]",
"ps1_hostname": "liveterm",
"ps1_username": "visitor",
"repo": "https://github.com/Cveinnt/LiveTerm",
"resume_url": "https://upload.wikimedia.org/wikipedia/commons/c/cc/Resume.pdf",
"donate_urls": {
"paypal": "https://paypal.me/cveinnt",
"patreon": "https://patreon.com/cveinnt"
},
"colors": {
"light": {
"background": "#FBF1C9",
"foreground": "#3C3836",
"yellow": "#D79921",
"green": "#98971A",
"gray": "#7C6F64",
"blue": "#458588",
"red": "#CA2124"
},
"dark": {
"background": "#2E3440",
"foreground": "#E5E9F0",
"yellow": "#5E81AC",
"green": "#A3BE8C",
"gray": "#88C0D0",
"blue": "#EBCB8B",
"red": "#BF616A"
}
}
}
I still get said error:
./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./src/styles/global.css
SyntaxError: /home/node/app/config.json: Unexpected token } in JSON at position 160
at parse ()
This is the full docker compose error:
next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - Detected next.config.js, no exported configuration found. https://nextjs.org/docs/messages/empty-configuration
wait - compiling...
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./src/styles/global.css
SyntaxError: /home/node/app/config.json: Unexpected token } in JSON at position 160
at parse (<anonymous>)
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
wait - compiling /_error (client and server)...
wait - compiling...
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./src/styles/global.css
SyntaxError: /home/node/app/config.json: Unexpected token } in JSON at position 160
at parse (<anonymous>)
from liveterm.
That's odd, your config.json
looks fine but somehow Next.js is throwing a SyntaxError
.
This might be a very obscure bug with Next.js's compilers. I would recommend that you submit an issue here as well.
Does this error only occur on Docker installs? Can you also include your system information so I can try and reproduce this error?
from liveterm.
Related Issues (20)
- Are You Planning to Implement Any More Commands? HOT 1
- more terminal feature HOT 1
- Could've forked? HOT 6
- Error when i run yarn dev HOT 3
- You little Rascal HOT 1
- Implementing an actual ls? HOT 1
- Sort was called multiple times in commands.ts HOT 1
- echo command could expose app for script injection sort of...
- Mobile scaling HOT 2
- "searching google for"
- Error while installing HOT 1
- upload this to github pages HOT 1
- Command Readme doesn't work HOT 1
- banner
- Rendering Issue with ascii-image
- how to host on github pages? HOT 2
- how to host on github pages?
- Social icons HOT 1
- Can u pls help me 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 liveterm.