Comments (2)
Hello guys, just realized this extension is broken, I tested previous versions but it still didn't work
from vscode-swiftlint.
Hi @alejandrostateside! Thanks for the report.
You are currently using version 1.2.6. Does this also happen on the latest 1.2.7 from the marketplace?
The error E2BIG is highly specific to the setup and project. Therefore I have lots of questions to further break down your error.
When did this error occur (on start, in specific files, ...)?
Which project did you use?
Did you open a folder containing multiple projects?
How long is the path to your project?
Could you post your vscode config?
Does your project use a SwiftLint config?
How many Swift files do you have within your project (a few, hundreds, thousands)?
How many warnings does swiftlint lint
emit?
What happens if you follow these steps:
$ mkdir ExampleProject
$ cd ExampleProject
$ swift package init
$ code .
from vscode-swiftlint.
Related Issues (20)
- Report Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonSourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- レポートコマンドに失敗しました: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonSourceKittenFramework/File.swift:20: 致命的なエラー: 'try!'式は予期せずエラーを発生させた: Error Domain=NSCocoaErrorDomain Code=260 「そのようなファイルがないため、ファイル「DKAssetGroupDetailImageCell.swift」を開けませんでした。」UserInfo={NSFilePath=/Users/ir/Desktop/Sense0.0/sense_0/ios/Pods/DKImagePickerController/Sources/DKImagePickerController/View/Cell/DKAssetGroupDetailImageCell.swift, NSUnderlyingError=0x133f616b0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}https://github.com/llvm/llvm-project/issues/にバグレポートを提出し、クラッシュバックトレースを含めてください。 HOT 1
- The default swiftlint.path value is invalid on Windows HOT 14
- Report 1 Command failed: swiftlint lint --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- Report Command failed: /opt/homebrew/bin/swiftlint /usr/bin/env swiftlint lint --quiet --reporter jsonwarning: Configuration contains invalid keys identation.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=261 "The file “env” couldn’t be opened using text encoding Unicode (UTF-8)." UserInfo={NSFilePath=/usr/bin/env, NSStringEncoding=4}PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. HOT 1
- Report Command failed: /usr/bin/env swiftlint lint --quiet --reporter jsonSourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “SerialExecutorTests.swift” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/MyUser/Development/Vapor/MyProject/.build/checkouts/swift-nio/Tests/NIOPosixTests/SerialExecutorTests.swift, NSUnderlyingError=0x13898b600 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} HOT 1
- Report Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonwarning: Found a configuration for 'type_body_length' rule, but it is disabled on 'disabled_rules'.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Color Extension.swift” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/user/Development/Git/app/Color Extension.swift, NSUnderlyingError=0x7ff5c571c650 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} HOT 1
- Report Command failed: /opt/homebrew/bin/swiftlint /usr/bin/env swiftlint lint --quiet --reporter jsonwarning: Invalid configuration for 'trailing_whitespace'. Falling back to default.warning: Invalid configuration for 'indentation'. Falling back to default.SourceKittenFramework/File.swift:20: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=261 "The file “env” couldn’t be opened using text encoding Unicode (UTF-8)." UserInfo={NSFilePath=/usr/bin/env, NSStringEncoding=4}PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. HOT 1
- Report 1 Command failed: swiftlint lint --quiet --reporter jsonError: No lintable files found at paths: ''
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 2
- add Windows support HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: '' HOT 1
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Support `source.fixAll.swiftlint`
- onlyEnableWithConfig confusion
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
- Report Command failed: /home//SDKs/Swift/swift-tools/SwiftLint/.build/release/swiftlint lint --quiet --reporter jsonSourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed
- Report 1 Command failed: /usr/bin/env swiftlint lint --use-script-input-files --quiet --reporter jsonError: No lintable files found at paths: ''
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-swiftlint.