menu

LinguiJS

Community about internationalization of React and JavaScript apps using LinguiJS library

Channels
Team

Simple bug at start

January 13, 2019 at 8:51pm

Simple bug at start

January 13, 2019 at 8:51pm
import { Trans } from '/macro';
results in: Module not found: Can't resolve 'module' in node_modules\import-fresh\node_modules\resolve-from
whereas import { Trans } from '/react' is fine.
Would you be able to help with tips or suggestions as to what could be going wrong? Thanks.
PS: I'm trying to add internationalization to an existing production website - nextelection.com.

January 16, 2019 at 8:18am
Hi! I've never seen this error. Could you please create a repository with minimal example so I can take a look?
  • reply
  • like