Npm run start leads to import error: 'PublicAddress' is not exported from 'rimble-ui'

Hi, I am trying to exactly copy the steps given in both and
Everything is working fine until I execute npm run start (yes, I do so from the client directory :slight_smile: ).

Then I see this:

Both the browser page and the console display the error. Console log:

Failed to compile.

Attempted import error: 'PublicAddress' is not exported from 'rimble-ui'.

I couldnt find anything suitable in the internet. I tried to manually reinstall the rimble-ui-package in the node_modules but that didnt help either. Bear with me, its my first time working with any of this :slight_smile:

:computer: Environment

Im on an ubuntu 18 system
npm version 3.52
node 8.10.0
just like given in the tutorial I installed truffle@5.0.41, ganache-cli@6.7.0, @openzeppelin/cli@2.5.3`

Id really appreciate some help :slight_smile:

1 Like

Hi @Ruben,

Welcome to the community :wave:

Sorry to hear that you are having an issue with the starter kit.

Unfortunately I wasn’t able to reproduce the error that you are seeing.
I can run the starter kit using the following:

$ node --version
$ npm --version

You may want to upgrade the version of node and npm you are using to a later version.

Hi @Ruben,

Just wanted to check if you were still having issues?

Hello guys, I stumbled on this issue too.

My solution was to look at the RimbleUI github, there is no reference to PublicAddress, but there is now an EthAddress component… I just swtiched all isntances of PublicAddress for EthAddress + setting my rimbleUI version (in package.json) to 0.14.0

You might also be able to fix this by setting the version to something like 0.9.7, before the EthAddress component was added (and maybe the PublicAddress component was removed?)

1 Like