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

core: building minimal app fails on MacOS #13110

Closed
lwallent opened this issue Nov 27, 2023 · 0 comments · Fixed by #13112
Closed

core: building minimal app fails on MacOS #13110

lwallent opened this issue Nov 27, 2023 · 0 comments · Fixed by #13112

Comments

@lwallent
Copy link

Description
Tried to run the example from issue #7056 which is the best minimal example I have found.

When building an application using only @theia/core, webpack fails with:

[webpack-cli] Error: Cannot find module 'trash/lib/macos-trash'
Require stack:
- /Users/[NAME]/Development/theia003/node_modules/@theia/native-webpack-plugin/lib/native-webpack-plugin.js
- /Users/[NAME]/Development/theia003/node_modules/@theia/native-webpack-plugin/lib/index.js
- /Users/[NAME]/Development/theia003/gen-webpack.node.config.js
- /Users/[NAME]/Development/theia003/webpack.config.js

Reproduction Steps

yarn init -y
yarn add @theia/core
yarn add -D @theia/cli
yarn theia build --mode development

OS and Theia version: MacOS 14.1.1 - Theia 1.43.1

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

Successfully merging a pull request may close this issue.

1 participant