question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

imports broke in v1.0.0-rc.7?

See original GitHub issue

I have a project, where I use your super-cool react-select lib.

today nice guy came to the project and clone the repo and etc. so the case: in package.json:

"dependencies": {
     "react-select": "^1.0.0-rc.5",
}

so obv. when I do npm i ├─┬ react-select@1.0.0-rc.7 is being installed.

after the packages are installed I’m trying to build my thing with webpack and getting those errors:

5:51  error    Unable to resolve path to module 'react-select'    import/no-unresolved
5:51  error    Missing file extension for "react-select"          import/extensions

this is how it’s being imported to the component: import Select, { AsyncCreatable, Creatable } from 'react-select';

with "react-select": "1.0.0-rc.5", installed everything works as a charm.

any help is appreciated and thx again for the fine lib.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JedWatsoncommented, Sep 13, 2017

A better release process perhaps?

Sorry for the trouble - we implemented an entirely new build and are supporting a whole lot of environments / build configurations that are hard to know about in advance (this was specific to a version and configuration of webpack, it worked in our test setup so this has been a learning curve) as well as providing backwards compatibility with how the bundle was consumed two years ago.

On the upside, we now have that better release process and it should be solid going forward so thanks everyone for the patience as we get it sorted out to support all the many ways people include front-end packages in their apps 👍

I’m going to close this because from what I can tell we’ve now got it right in rc.9, if anyone is still experiencing issues on that version please open a new issue with specifics about your bundle process, versions and config so we can help.

1reaction
em0neycommented, Sep 13, 2017

react-select@1.0.0-rc.9 has resolved this for me. Thanks for the quick turn around

Read more comments on GitHub >

github_iconTop Results From Across the Web

UNPKG - @ui5/webcomponents-base
97, * **framework:** add dynamic imports for .json assets ... rc.8](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-07-30).
Read more >
Upload Collection - UI5 Web Components - SAP
A component to be used within the ui5-upload-collection . ES6 Module Import. import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";. Properties/ ...
Read more >
uniforms | Yarn - Package Manager
Breaking : Moved transpiled files from the packages roots (e.g. import BaseForm from 'uniforms/BaseForm' ) to es5 directories. · Breaking: Removed BaseField from ......
Read more >
CHANGELOG.md · LEARN/vite - Gitee.com
Bug Fixes; Code Refactoring; Features; BREAKING CHANGES. 1.0.0-rc.3 (2020-07-21). Bug Fixes ... Bug Fixes; Features; BREAKING CHANGES; 0.20.10 (2020-06-19).
Read more >
vue-cli-plugin-electron-builder - Awesome JS
These upgrades may cause breaking changes depending on your specific ... installVueDevtools } from 'vue-cli-plugin-electron-builder/lib' + import ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found