Skip to content
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

1.8.3 throws an exception #37

Closed
falsandtru opened this issue Jun 17, 2016 · 71 comments · Fixed by ManageIQ/manageiq-ui-service#66
Closed

1.8.3 throws an exception #37

falsandtru opened this issue Jun 17, 2016 · 71 comments · Fixed by ManageIQ/manageiq-ui-service#66

Comments

@falsandtru
Copy link

1.8.3 https://travis-ci.org/falsandtru/spica/builds/138314049
1.8.2 https://travis-ci.org/falsandtru/spica/builds/138318418

@fidian
Copy link

fidian commented Jun 17, 2016

This is due to commit 6d3506e

We use gulp-angular-templatecache to build our assets. With the release that happened only 2 hours ago, we now can not build our application.

gulp.task("templates", function(){
    var result = gulp.src(templatePaths())
        .pipe(templateCache("gisnep-ui-templates.js", {module: "gisnepUi"}))
        .pipe(concat("gisnep-ui-templates.js"))
        .pipe(gulp.dest("www"));
    return result;
});

@ghost
Copy link

ghost commented Jun 17, 2016

+1

@ascartabelli
Copy link

ascartabelli commented Jun 17, 2016

Yes, that lstatSync.isDirectory check raises an exception if you have a in-memory stream.

@ghost
Copy link

ghost commented Jun 17, 2016

how to fix

npm uninstall gulp-header
npm install gulp-header@1.8.2

@dstoreng
Copy link

+1

10 similar comments
@basvis
Copy link

basvis commented Jun 17, 2016

+1

@kwypchlo
Copy link

+1

@fsmaamo
Copy link

fsmaamo commented Jun 17, 2016

+1

@frankkoenigstein
Copy link

+1

@s2x
Copy link

s2x commented Jun 17, 2016

+1

@el-davo
Copy link

el-davo commented Jun 17, 2016

+1

@mjohnston32
Copy link

+1

@kyle-long
Copy link

+1

@baelish
Copy link

baelish commented Jun 17, 2016

+1

@nkreter
Copy link

nkreter commented Jun 17, 2016

+1

@myshov
Copy link

myshov commented Jun 17, 2016

+1

7 similar comments
@Trufi
Copy link

Trufi commented Jun 17, 2016

+1

@andymost
Copy link

+1

@osvodef
Copy link

osvodef commented Jun 17, 2016

+1

@kneumei
Copy link

kneumei commented Jun 17, 2016

+1

@cmurken
Copy link

cmurken commented Jun 17, 2016

+1

@ArtZanko
Copy link

+1

@lastw
Copy link

lastw commented Jun 17, 2016

+1

@RayProud
Copy link

+1

1 similar comment
@vfiodarau
Copy link

+1

@ibc
Copy link

ibc commented Jun 17, 2016

+1

romario333 added a commit to romario333/gulp-angular-templatecache that referenced this issue Jun 17, 2016
@jaylittle
Copy link

We worked around this issue locally by adding an npm-shrinkwrap.json file containing the following content:

{
  "dependencies": {
    "gulp-header": {
      "version": "1.8.2",
      "from": "gulp-angular-templatecache@1.8.0"
    }
  }
}

@candyam5522
Copy link

+1

@jfriv
Copy link

jfriv commented Jun 17, 2016

+1 happy friday!

@francisdb
Copy link

To make it easier to find this issue I'm posting the actual trace you get

fs.js:839
  return binding.lstat(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, lstat '/var/lib/jenkins/jobs/github/jobs/xxx/branches/master/workspace/public/semantic/components/semantic.min.js'
    at Error (native)
    at Object.fs.lstatSync (fs.js:839:18)
    at DestroyableTransform.TransformStream [as _transform] (/var/lib/jenkins/jobs/github/jobs/xxx/branches/master/workspace/node_modules/gulp-header/index.js:38:12)

@evankleist
Copy link

+1

2 similar comments
@anipendakur
Copy link

+1

@kelvinw88
Copy link

+1

@gigablox
Copy link

erg mah gerggg fix itttt

@ibc
Copy link

ibc commented Jun 17, 2016

@gigablox do you know reading?

@gigablox
Copy link

@ibc I met him once, nice guy.

@maenthoven
Copy link

+1

@don4of4
Copy link

don4of4 commented Jun 18, 2016

Output if you might find it useful:

[02:36:25][Step 1/2] fs.js:691
[02:36:25][Step 1/2]   return binding.lstat(pathModule._makeLong(path));
[02:36:25][Step 1/2]                  ^
[02:36:25][Step 1/2] Error: ENOENT, no such file or directory '/home/app/et-main/client/.tmp/serve/app/templateCacheHtml.js'
[02:36:25][Step 1/2]     at Object.fs.lstatSync (fs.js:691:18)
[02:36:25][Step 1/2]     at DestroyableTransform.TransformStream [as _transform] (/home/app/et-main/node_modules/gulp-header/index.js:38:12)
[02:36:25][Step 1/2]     at DestroyableTransform.Transform._read (/home/app/et-main/node_modules/gulp-header/node_modules/readable-stream/lib/_stream_transform.js:159:10)
[02:36:25][Step 1/2]     at DestroyableTransform.Transform._write (/home/app/et-main/node_modules/gulp-header/node_modules/readable-stream/lib/_stream_transform.js:147:83)
[02:36:25][Step 1/2]     at doWrite (/home/app/et-main/node_modules/gulp-header/node_modules/readable-stream/lib/_stream_writable.js:313:64)
[02:36:25][Step 1/2]     at writeOrBuffer (/home/app/et-main/node_modules/gulp-header/node_modules/readable-stream/lib/_stream_writable.js:302:5)
[02:36:25][Step 1/2]     at DestroyableTransform.Writable.write (/home/app/et-main/node_modules/gulp-header/node_modules/readable-stream/lib/_stream_writable.js:241:11)
[02:36:25][Step 1/2]     at write (/home/app/et-main/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
[02:36:25][Step 1/2]     at flow (/home/app/et-main/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
[02:36:25][Step 1/2]     at DestroyableTransform.pipeOnReadable (/home/app/et-main/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)

@falsandtru
Copy link
Author

Merge into #36.

remojansen added a commit to inversify/InversifyJS that referenced this issue Jun 18, 2016
remojansen added a commit to inversify/inversify-binding-decorators that referenced this issue Jun 18, 2016
remojansen added a commit to inversify/inversify-logger-middleware that referenced this issue Jun 18, 2016
@tracker1
Copy link
Member

see #44

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 a pull request may close this issue.