smalltalk icon indicating copy to clipboard operation
smalltalk copied to clipboard

An error when using smalltalk with Electron

Open EnderCommunity opened this issue 4 years ago • 8 comments

Error 4_14_2020 6_22_26 PM

EnderCommunity avatar Apr 14 '20 15:04 EnderCommunity

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

EnderCommunity avatar Apr 14 '20 15:04 EnderCommunity

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

coderaiser avatar Apr 14 '20 15:04 coderaiser

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

EnderCommunity avatar Apr 14 '20 15:04 EnderCommunity

@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 :).

coderaiser avatar Apr 14 '20 17:04 coderaiser

it didn't work

EnderCommunity avatar Apr 15 '20 16:04 EnderCommunity

Could you please provide error message you have?

coderaiser avatar Apr 16 '20 08:04 coderaiser

+1

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

LucasArgate avatar Jul 12 '22 18:07 LucasArgate

Use:

import smalltalk from 'smalltak/bundle';

or

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

Since v4.1.0

Is it works for you?

coderaiser avatar Jul 12 '22 19:07 coderaiser