Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 38: |
Line 38: |
| $ npm install node-gyp | | $ npm install node-gyp |
| $ npm install iconv | | $ npm install iconv |
|
| |
| == SyntaxError: Unexpected string in JSON ==
| |
|
| |
| When attempting to upgrade nodebb using ./nodebb upgrade the following error occurs:
| |
|
| |
| undefined:17
| |
| "main": "theme.less",
| |
| ^
| |
| SyntaxError: Unexpected string in JSON at position 393
| |
|
| |
| '''Solution'''
| |
|
| |
| Run the command:
| |
|
| |
| npm update
| |
|
| |
|
| == SyntaxError: Unexpected end of JSON == | | == SyntaxError: Unexpected end of JSON == |