Node version: v20.11.1
Model: Apple MacBook Pro M2
Arch: arm64
> parcel index.html --open
Server running at http://localhost:1337
🚨 Build failed.
@riotjs/parcel-transformer-riot: Cannot read properties of undefined (reading 'endsWith')
TypeError: Cannot read properties of undefined (reading 'endsWith')
at loadConfig
(file:///Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@riotjs+parcel-transformer-riot@9.0.1_@parcel+core@2.12.0_@riotjs+compiler@9.0.7/node_modules/@riotjs/parcel-transformer-riot/index.js:35:42)
at async loadPluginConfig
(/Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@parcel+core@2.12.0/node_modules/@parcel/core/lib/requests/ConfigRequest.js:53:21)
at async Transformation.loadTransformerConfig
(/Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@parcel+core@2.12.0/node_modules/@parcel/core/lib/Transformation.js:408:5)
at async Transformation.loadPipeline
(/Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@parcel+core@2.12.0/node_modules/@parcel/core/lib/Transformation.js:360:20)
at async Transformation.run
(/Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@parcel+core@2.12.0/node_modules/@parcel/core/lib/Transformation.js:140:20)
at async Child.handleRequest
(/Users/danilo.alonso/repos/github/riot-tools/meiosis/node_modules/.pnpm/@parcel+workers@2.12.0_@parcel+core@2.12.0/node_modules/@parcel/workers/lib/child.js:203:9)
Node version:
v20.11.1
Model:Apple MacBook Pro M2
Arch:arm64
Reproduce:
corepack enable
to enable yarn and pnpmpnpm install
pnpm preview