Skip to content

Installation failure?  #31

Closed
Closed
@shairozan

Description

@shairozan

Steps to reproduce

  1. Download the tag for 2.0
    1. Javascript version specifically
  2. Navigate to path
  3. Issue pnpm install command

What is expected?

Exit code of 0 and successful installation

What is actually happening?

ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///C:/Users/dukeo/GolandProjects/towncrier/frontend/src/assets/iconify-icons/bundle-icons-css.js:23:5
    at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Now I'm also woefully new to UI development, but this occurred regardless of installer (NPM, PNPM etc)

Additional data

NodeJS Version: v22.11.0
Package manager(npm|yarn|pnpm):
Browser name & version: Haven't even gotten there O.o

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions