react-view icon indicating copy to clipboard operation
react-view copied to clipboard

Dependency version issue

Open agarg5 opened this issue 5 years ago • 3 comments

With yarn, getting this error when trying to use react-view.

miksu/prettier is a dependency but this is seems like it could be a versioning issue

Module not found: Error: Can't resolve 'linguist-languages/data/JSX' in '[PROJECT_PATH]/node_modules/@miksu/prettier/lib/language-js'

agarg5 avatar Nov 27 '20 17:11 agarg5

Can you try [email protected]?

When do you see it? When running y install ?

tajo avatar Nov 30 '20 19:11 tajo

@tajo thanks for your response. Tried yarn install [email protected] followed by yarn install and get

Failed to compile.

./node_modules/react-view/dist/es/index.js Module build failed: Error: ENOENT: no such file or directory, open '[...]/node_modules/react-view/dist/es/index.js'

agarg5 avatar Dec 01 '20 22:12 agarg5

Can you provide full repro?

It seems to be working in CodeSandbox. And the react-view/dist/es/index.js file was correctly published.

tajo avatar Dec 02 '20 01:12 tajo