-
Notifications
You must be signed in to change notification settings - Fork 34
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
make failed by codemirror.ts #11
Comments
I'm have trouble replicating the codemirror.ts error, but I did notice that you're running a newer version of Typescript (2.6.2) than is in the yarn.lock file (2.4.2), so perhaps you have a dependency that's incompatible? I would suggest trying the following: remove your existing I also see that the Hope that helps! |
Hi octavore, thank you for your response. I tried to re-compile with your advice, but I was not able to compile as successfully in my environment.
I modified admin/src/js/types/codemirror.ts because I'll resolve error message "error TS2307: Cannot find module 'CodeMirror'" --- ./admin/src/js/types/codemirror.ts.orig 2018-02-06 00:35:39.333021581 +0000
+++ ./admin/src/js/types/codemirror.ts 2018-02-05 06:29:07.876746213 +0000
@@ -2,7 +2,7 @@
// http://www.jbrantly.com/es6-modules-with-typescript-and-webpack/
// https://stackoverflow.com/questions/38168733/typescript-export-all-functions-in-a-namespace
// reexport codemirror type from namespace
-import * as CM from 'CodeMirror';
+import * as CM from 'codemirror';
declare global {
var CodeMirror: typeof CM;
} and, I modified Makefile because I occur error "go-bindata: not found" in this environment too after I add "$GOPATH/bin" to $PATH. --- ./admin/gulp/bindata.js.orig 2018-02-06 00:52:40.055557630 +0000
+++ ./admin/gulp/bindata.js 2018-02-05 03:56:06.709228156 +0000
@@ -11,7 +11,7 @@
let bindata = () =>
gulp.src('build/*', { read: false })
.pipe(shell([
- `go-bindata -pkg admin -prefix build ${buildPaths.join(' ')}`
+ `~/go/bin/go-bindata -pkg admin -prefix build ${buildPaths.join(' ')}`
], {
env: {
PATH: `${process.env.GOPATH}/bin` Then I successfully compiled, but unfortunately, ketchup not rendering correctly in compose page as following: By the way, are you planning to release next version ketchup as corresponding to bindext? Thank you. |
Thanks, I think I've figured out the codemirror error (I have a case-insensitive filesystem, so the incorrectly cased import worked on my computer). For the rendering problem, could you try this branch and let me know if it solves the issue? I've tweaked the Quill import to use dynamic imports, maybe that will help. |
Hello.
I got following error when trying to compile ketchup.
My environment is:
Could you please let me know what requirements for compiling ketchup.
Thanks.
The text was updated successfully, but these errors were encountered: