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

dll renderer webpack error on tiptap npm install #3581

Open
4 of 5 tasks
TrofinSorin opened this issue Jan 24, 2024 · 0 comments
Open
4 of 5 tasks

dll renderer webpack error on tiptap npm install #3581

TrofinSorin opened this issue Jan 24, 2024 · 0 comments
Labels

Comments

@TrofinSorin
Copy link

TrofinSorin commented Jan 24, 2024

Prerequisites

  • Using npm
  • Using an up-to-date main branch
  • Using latest version of devtools. Check the docs for how to update
  • Tried solutions mentioned in #400
  • For issue in production release, add devtools output of DEBUG_PROD=true npm run build && npm start

Expected Behavior

npm install should work when having all these inside dependencies inside package json:

"@tiptap/core": "^2.1.16",
"@tiptap/extension-bold": "^2.1.16",
"@tiptap/extension-bubble-menu": "^2.1.16",
"@tiptap/extension-code": "^2.1.16",
"@tiptap/extension-color": "^2.1.16",
"@tiptap/extension-document": "^2.1.16",
"@tiptap/extension-heading": "^2.1.16",
"@tiptap/extension-highlight": "^2.1.16",
"@tiptap/extension-history": "^2.1.16",
"@tiptap/extension-image": "^2.1.16",
"@tiptap/extension-italic": "^2.1.16",
"@tiptap/extension-link": "^2.1.16",
"@tiptap/extension-paragraph": "^2.1.16",
"@tiptap/extension-strike": "^2.1.16",
"@tiptap/extension-table": "^2.1.16",
"@tiptap/extension-text": "^2.1.16",
"@tiptap/extension-text-align": "^2.1.16",
"@tiptap/extension-text-style": "^2.1.16",
"@tiptap/extension-underline": "^2.1.16",
"@tiptap/pm": "^2.1.16",
"@tiptap/react": "^2.1.16",
"@tiptap/starter-kit": "^2.1.16"

Current Behavior

ERROR in dll renderer renderer[25]
Module not found: Error: Package path . is not exported from package \electron-react-boilerplate-main\node_modules@tiptap\pm (see exports field in \electron-react-boilerplate-main\node_modules@tiptap\pm\package.json)

webpack compiled with 1 error
npm ERR! code 1
npm ERR! path \electron-react-boilerplate-main
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll

Steps to Reproduce

Add these @tiptap dependencies into dependencies inside package json and hit npm install.

"@tiptap/core": "^2.1.16",
"@tiptap/extension-bold": "^2.1.16",
"@tiptap/extension-bubble-menu": "^2.1.16",
"@tiptap/extension-code": "^2.1.16",
"@tiptap/extension-color": "^2.1.16",
"@tiptap/extension-document": "^2.1.16",
"@tiptap/extension-heading": "^2.1.16",
"@tiptap/extension-highlight": "^2.1.16",
"@tiptap/extension-history": "^2.1.16",
"@tiptap/extension-image": "^2.1.16",
"@tiptap/extension-italic": "^2.1.16",
"@tiptap/extension-link": "^2.1.16",
"@tiptap/extension-paragraph": "^2.1.16",
"@tiptap/extension-strike": "^2.1.16",
"@tiptap/extension-table": "^2.1.16",
"@tiptap/extension-text": "^2.1.16",
"@tiptap/extension-text-align": "^2.1.16",
"@tiptap/extension-text-style": "^2.1.16",
"@tiptap/extension-underline": "^2.1.16",
"@tiptap/pm": "^2.1.16",
"@tiptap/react": "^2.1.16",
"@tiptap/starter-kit": "^2.1.16"

Your Environment

  • Node version : 18.19.0
  • electron-react-boilerplate version or branch : newest
  • Operating System and version : Windows 10
@TrofinSorin TrofinSorin changed the title check native dep webpack error on tiptap npm install dll renderer webpack error on tiptap npm install Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant