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

An error when using smalltalk with Electron #26

Open
EnderCommunity opened this issue Apr 14, 2020 · 8 comments
Open

An error when using smalltalk with Electron #26

EnderCommunity opened this issue Apr 14, 2020 · 8 comments
Labels

Comments

@EnderCommunity
Copy link

Error 4_14_2020 6_22_26 PM

@EnderCommunity
Copy link
Author

These are smalltalk's module files:
smalltalk 4_14_2020 6_32_19 PM

@coderaiser
Copy link
Owner

You should use bundled version with electron, or setup build process with webpack :). Is it helps?

@EnderCommunity
Copy link
Author

Can you tell me how can I install the bundled version? please

@coderaiser
Copy link
Owner

@EnderAdel you can’t install bundled version, you can only download it from releases page. Anyways you can add webpack to your setup, and build it for yourself using webpack.config.js as an example. If you don’t use build system, I suggest you to add it for such case as the need of reuse some components of your application in the browser or node.js :).

@EnderCommunity
Copy link
Author

it didn't work

@coderaiser
Copy link
Owner

Could you please provide error message you have?

@LucasArgate
Copy link

+1

im having the same error, do you have something new @EnderCommunity ?

@coderaiser
Copy link
Owner

Use:

import smalltalk from 'smalltak/bundle';

or

const smalltalk = require('smalltalk/bundle');

Since v4.1.0

Is it works for you?

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

2 participants