You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a component with --ignore-package-json flag, the component's root dir, doesn't have the package.json file, so there is no point of adding that component with the relative-path into the workspace's package.json file.
Steps to Reproduce
import a component with --ignore-package-json flag.
run npm install twice.
the following error is thrown
npm ERR! Cannot read property 'match' of undefined
Expected Behavior
No records should be added into root package.json when --ignore-package-json is used.
Specifications
Bit version: 14.2.5
Node version: v12.7.0
npm / yarn version: npm 6.9.0
Platform: Mac
Bit compiler (include version): N/A
Bit tester (include version): N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
When importing a component with
--ignore-package-json
flag, the component's root dir, doesn't have the package.json file, so there is no point of adding that component with the relative-path into the workspace's package.json file.Steps to Reproduce
--ignore-package-json
flag.npm install
twice.Expected Behavior
No records should be added into root package.json when
--ignore-package-json
is used.Specifications
The text was updated successfully, but these errors were encountered: