kangarang / tcr-ui

A client-side shell to interact with token-curated registries
MIT License
68 stars 28 forks source link

Failed to compile: Module not found: Can't resolve 'containers/Home/Loadable' #102

Closed sheluchin closed 4 years ago

sheluchin commented 6 years ago
Failed to compile

./src/App.js
Module not found: Can't resolve 'containers/Home/Loadable' in '/home/foo/repos/tcr-ui/src'

This error occurred during the build time and cannot be dismissed.

I get the above message in my browser after running:

  $ git clone https://github.com/kangarang/tcr-ui.git
  $ cd tcr-ui
  $ npm install
  $ npm run dev
kangarang commented 6 years ago

hrm, which node and browser version are you using?

sheluchin commented 6 years ago
$ npm --version
6.0.1

$ node --version
v8.11.1

$ firefox --version
Mozilla Firefox 61.0.1
kangarang commented 6 years ago

it is working on my machine with those versions

are you using any special terminal emulator? perhaps it's a path issue. try changing the import statement in App.js to import the module using a relative path. if you get a different error message, my intuition tells me that /.env is being ignored, and those environment variables are not being used to resolve absolute path imports