titaniumnetwork-dev / Oxide-Docs

The official SDK documentation site for TitaniumNetwork. Here we provide advanced web proxy services through the progression of web proxy technologies. This composes from advanced URL rewriting proxies, protocols and more.
https://docs.titaniumnetwork.org
GNU Affero General Public License v3.0
14 stars 58 forks source link

`yarn dev` and `yarn build` fails `createPagesStatefully` #6

Closed luphoria closed 1 year ago

luphoria commented 1 year ago

error.log (Note: it went in an infinite loop, because I used command yarn dev > error.log to catch the error, but you can still see the syntax error)

  SyntaxError: /home/deck/Oxide-Docs/src/docs/services/nebula.mdx: JSX value sho
  uld be either an expression or a quoted JSX text. (7:11)
     5 |       {...props}
     6 |       components={components}>
  >  7 | <div align=center> 
       |            ^
     8 | <img src='https://nebulaproxy.nebula.bio/images/logo.png' width="100px"
   height="100px">
     9 | <h1>  Nebula </h1>
    10 | NebulaWeb is an official flagship of Nebula Services and Nebula Develop
  er Labs. NebulaWeb is a stunning, sleek, and functional web-proxy with support
   for thousands of popular sites. With NebulaWeb, the sky is the limit.
mdoryammilwalrus commented 1 year ago

I am just going to put this here but it just fails to build because of a error:

Error: error:0308010C:digital envelope routines::unsupported

(a DuckDuckGo search reveals that this is due to a security patch in NodeJS v17 and higher)

luphoria commented 1 year ago

Is this for you? because that isn't in my log at all

mdoryammilwalrus commented 1 year ago

Yes, it crashes while trying to build that page also. But I get that error also

luphoria commented 1 year ago

Now works.