Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What I am doing wrong ? #2585

Open
akshayOren opened this issue Feb 9, 2024 Discussed in #2584 · 0 comments
Open

What I am doing wrong ? #2585

akshayOren opened this issue Feb 9, 2024 Discussed in #2584 · 0 comments

Comments

@akshayOren
Copy link

Discussed in #2584

Originally posted by akshayOren February 9, 2024
Doing this

const doc = new docx.Document();

gives this error.

C:\Users\Akshay\Desktop\pdf\pupppdf\node_modules\docx\build\index.cjs:15434
      creator: (_a = options2.creator) != null ? _a : "Un-named",
                              ^

TypeError: Cannot read properties of undefined (reading 'creator')
    at new File (C:\Users\Akshay\Desktop\pdf\pupppdf\node_modules\docx\build\index.cjs:15434:31)
    at Object.<anonymous> (C:\Users\Akshay\Desktop\pdf\pupppdf\index2.js:16:13)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49
``` </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant