Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is failing because of node_module lint errors #422

Closed
1 of 2 tasks
ValGeorgiev opened this issue Jul 19, 2023 · 1 comment
Closed
1 of 2 tasks

Build is failing because of node_module lint errors #422

ValGeorgiev opened this issue Jul 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ValGeorgiev
Copy link

Description

When I run bob build the build is failing with the following lint errors from a node_module. It happens only with the following library: node_modules/fork-ts-checker-webpack-plugin Is there an option in bob to exclude node_modules when running bob lint checks?

image

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
["commonjs", {"copyFlow": true}],
"module",
"typescript"
]
},

Link to repro

No response

Environment

System:
OS: macOS 13.4
CPU: (10) arm64 Apple M1 Pro
Memory: 601.95 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.1 - /Users/valgeorgiev/.rvm/gems/ruby-2.7.5/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 18.0.2.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

@ValGeorgiev ValGeorgiev added the bug Something isn't working label Jul 19, 2023
@atlj
Copy link
Collaborator

atlj commented Jul 19, 2023

Can you check this answer: https://stackoverflow.com/a/57653497
I'm also converting this into a discussion since it's not a bug in bob itself.

@callstack callstack locked and limited conversation to collaborators Jul 19, 2023
@atlj atlj converted this issue into discussion #423 Jul 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants