jeudi 15 septembre 2022

Brocolli Plugin ENOENT no such file auto-import-fastboot.js error

I randomly get the following error message when running the tests on an ember project, it doesn't happen all the time.

  - broccoliBuilderErrorStack: Error: ENOENT: no such file or directory, open '/tmp/broccoli-16293IqYV1TN4ouUv/out-402-bundler/lazy/auto-import-fastboot.js'
    at Object.openSync (fs.js:462:3)
    at Object.writeFileSync (fs.js:1384:35)
    at Bundler.addLazyAssets (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/bundler.js:119:20)
    at Bundler.<anonymous> (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/bundler.js:81:22)
    at Generator.next (<anonymous>)
    at fulfilled (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/bundler.js:11:58)
  - code: [undefined]
  - codeFrame: ENOENT: no such file or directory, open '/tmp/broccoli-16293IqYV1TN4ouUv/out-402-bundler/lazy/auto-import-fastboot.js'
  - errorMessage: ENOENT: no such file or directory, open '/tmp/broccoli-16293IqYV1TN4ouUv/out-402-bundler/lazy/auto-import-fastboot.js'
        at Bundler
-~- created here: -~-
    at new Plugin (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/broccoli-plugin/index.js:7:31)
    at new Bundler (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/bundler.js:32:9)
    at AutoImport.makeBundler (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/auto-import.js:62:16)
    at AutoImport.addTo (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/auto-import.js:72:38)
    at EmberApp.host.addonPostprocessTree (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-auto-import/js/auto-import.js:106:29)
    at EmberApp.toTree (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-cli/lib/broccoli/ember-app.js:1825:17)
    at module.exports (/home/jenkins/agent/workspace/project/embercli/projectName/ember-cli-build.js:113:20)
    at Builder.readBuildFile (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-cli/lib/models/builder.js:52:14)
    at Builder.setupBroccoliBuilder (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-cli/lib/models/builder.js:66:22)
    at new Builder (/home/jenkins/agent/workspace/project/embercli/projectName/node_modules/ember-cli/lib/models/builder.js:32:10)
-~- (end) -~-
  - errorType: Build Error
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
    - treeDir: [undefined]
  - message: ENOENT: no such file or directory, open '/tmp/broccoli-16293IqYV1TN4ouUv/out-402-bundler/lazy/auto-import-fastboot.js'

VERSIONS:

  • ember-cli: 3.14.0
  • broccoli-asset-rev: 3.0.0
  • brotli: 1.0.9
  • node: 12.22.12



Aucun commentaire:

Enregistrer un commentaire