AddressForAll / site-v2

New AddressForAll website, version 3 of attempts to make it better
Apache License 2.0
1 stars 0 forks source link

Erro ao atualizar site #9

Closed crebollobr closed 2 years ago

crebollobr commented 2 years ago

pm2@addressforall:/opt/teste2.addressforall.org/site-v2$ npm install
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1426 packages, and audited 1427 packages in 16s

169 packages are looking for funding
  run `npm fund` for details

6 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
pm2@addressforall:/opt/teste2.addressforall.org/site-v2$ npm run build

> site-v2@0.1.0 build
> react-scripts build

Creating an optimized production build...
Failed to compile.

SyntaxError: /opt/teste2.addressforall.org/site-v2/src/components/Footer/Footer.js: Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.
   9 |           <div class="logo">
  10 |             <svg>
> 11 |               <use xlink:href="#logosvg"></use>
     |                    ^^^^^^^^^^
  12 |             </svg>
  13 |           </div>
  14 |         </div>
crebollobr commented 2 years ago

Corrigido no git