Skip to content

Conversation

@Jerry-Wang-Developer
Copy link
Contributor

No description provided.

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:523:3)
    at tryReadSync (fs.js:348:20)
    at Object.readFileSync (fs.js:385:19)
    at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:143:32)
    at step (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:43:23)
    at Object.next (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:24:53)
    at /usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:18:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:14:12)
    at Object.executeRuntimeEnvironment (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:134:88) {
  errno: -21,
  syscall: 'read',
  code: 'EISDIR'
}
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against f0a2724

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  Error: Could not find a `dangerfile.js` or `dangerfile.ts` in the current working directory.
    at Object.dangerfilePath (/usr/src/danger/distribution/commands/utils/fileUtils.js:26:11)
    at Object.<anonymous> (/usr/src/danger/distribution/commands/danger-runner.js:92:42)
    at step (/usr/src/danger/distribution/commands/danger-runner.js:33:23)
    at Object.next (/usr/src/danger/distribution/commands/danger-runner.js:14:53)
    at fulfilled (/usr/src/danger/distribution/commands/danger-runner.js:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Generated by 🚫 dangerJS against b1ebed6

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  { Error: Cannot find module '@babel/plugin-transform-flow-strip-types' from '/github/workspace'
    at Function.module.exports [as sync] (/usr/src/danger/node_modules/resolve/lib/sync.js:40:15)
    at resolveStandardizedName (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
    at resolvePlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
    at loadPlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
    at createDescriptor (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
    at items.map (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
    at Array.map (<anonymous>)
    at createDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
    at createPluginDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
    at alias (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:63:49) code: 'MODULE_NOT_FOUND' }
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against ca0cc8b

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:523:3)
    at tryReadSync (fs.js:348:20)
    at Object.readFileSync (fs.js:385:19)
    at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:143:32)
    at step (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:43:23)
    at Object.next (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:24:53)
    at /usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:18:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:14:12)
    at Object.executeRuntimeEnvironment (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:134:88) {
  errno: -21,
  syscall: 'read',
  code: 'EISDIR'
}
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against cca7575

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:523:3)
    at tryReadSync (fs.js:348:20)
    at Object.readFileSync (fs.js:385:19)
    at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:143:32)
    at step (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:43:23)
    at Object.next (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:24:53)
    at /usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:18:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:14:12)
    at Object.executeRuntimeEnvironment (/usr/local/share/.config/yarn/global/node_modules/danger/distribution/platforms/GitHub.js:134:88) {
  errno: -21,
  syscall: 'read',
  code: 'EISDIR'
}
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against e6bb294

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  { Error: Cannot find module '@babel/plugin-transform-flow-strip-types' from '/github/workspace'
    at Function.module.exports [as sync] (/usr/src/danger/node_modules/resolve/lib/sync.js:40:15)
    at resolveStandardizedName (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
    at resolvePlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
    at loadPlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
    at createDescriptor (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
    at items.map (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
    at Array.map (<anonymous>)
    at createDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
    at createPluginDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
    at alias (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:63:49) code: 'MODULE_NOT_FOUND' }
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 6ea2344

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  { Error: Cannot find module '@babel/plugin-transform-flow-strip-types' from '/github/workspace'
    at Function.module.exports [as sync] (/usr/src/danger/node_modules/resolve/lib/sync.js:40:15)
    at resolveStandardizedName (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
    at resolvePlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
    at loadPlugin (/usr/src/danger/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
    at createDescriptor (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
    at items.map (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
    at Array.map (<anonymous>)
    at createDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
    at createPluginDescriptors (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
    at alias (/usr/src/danger/node_modules/@babel/core/lib/config/config-descriptors.js:63:49) code: 'MODULE_NOT_FOUND' }
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against ee91098

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

node` failed.

Log

Error:  { Error: Cannot find module '@babel/core'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function._module2.default._load (/usr/src/danger/node_modules/override-require/dist/overrideRequire.js:43:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/github/workspace/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js:12:13)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.customModuleHandler (/usr/src/danger/distribution/runner/runners/inline.js:116:28)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: 'MODULE_NOT_FOUND' }
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 86752d3

@Jerry-Wang-Developer
Copy link
Contributor Author

Messages
📖 Test pass!

Generated by 🚫 dangerJS against a8005b9

@Jerry-Wang-Developer
Copy link
Contributor Author

Messages
📖 Test pass!

Generated by 🚫 dangerJS against cc3be8e

@Jerry-Wang-Developer
Copy link
Contributor Author

Messages
📖 hello world!

Generated by 🚫 dangerJS against 898eebb

@Jerry-Wang-Developer
Copy link
Contributor Author

Messages
📖 hello world!

Generated by 🚫 dangerJS against 715e219

@Jerry-Wang-Developer
Copy link
Contributor Author

Fails
🚫

Danger failed to run ./dangerfile.js.

Messages
📖 ha ha ha

Error ReferenceError

errorCount is not defined
ReferenceError: errorCount is not defined
    at Object.<anonymous> (./dangerfile.js:8:3)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.requireFromString [as default] (/usr/src/danger/node_modules/require-from-string/index.js:28:4)
    at Object.<anonymous> (/usr/src/danger/distribution/runner/runners/inline.js:144:63)
    at step (/usr/src/danger/distribution/runner/runners/inline.js:32:23)
    at Object.next (/usr/src/danger/distribution/runner/runners/inline.js:13:53)
    at /usr/src/danger/distribution/runner/runners/inline.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/src/danger/distribution/runner/runners/inline.js:3:12)
    at exports.runDangerfileEnvironment (/usr/src/danger/distribution/runner/runners/inline.js:105:136)

Dangerfile

 3| message("ha ha ha")
 4| 
 5| danger.git.modified_files.length
 6| 
 7| // Encourage smaller PRs
-----^
 8| var bigPRThreshold = 30;
 9| if (danger.github.pr.additions + danger.github.pr.deletions > bigPRThreshold) {
10|   warn(':exclamation: Big PR (' + ++errorCount + ')');
11|   markdown('> (' + errorCount + ') : Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.');

Generated by 🚫 dangerJS against c6492a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants