nuxt-community / amp-module

AMP Module for Nuxt 2
https://codesandbox.io/s/github/nuxt-community/amp-module/
MIT License
204 stars 36 forks source link

Fatal error when running this module in typescript project #267

Open teles opened 2 years ago

teles commented 2 years ago

Hi, everybody ✋

I'm working on a project using:

The project is running as expected and we want to use the amp-module for this project. But I tried sometimes to install this module and I always face some errors.

What I tried:

  1. yarn add @nuxtjs/amp 
  2. and goes to nuxt.config.js and add theses lines:

modules: [
  '@nuxtjs/amp'
],

amp: {
  // Options
}
  1. And I try to run the project using:
yarn dev
  1. Then I always get these fatal error messages:
Captura de Tela 2021-10-15 às 16 12 51
#
# Fatal error in , line 0
# archived threads in combination with wasm not supported
#
#
#
#FailureMessage Object: 0x10a8fdba0
error Command failed with signal "SIGILL".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I have already used this module successfully in other projects

My question is: is there any support for using this module with Typescript projects? Am I doing something wrong?