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

404 GET /codemirror-minified #40

Closed
wahowaho opened this issue Nov 7, 2018 · 10 comments
Closed

404 GET /codemirror-minified #40

wahowaho opened this issue Nov 7, 2018 · 10 comments

Comments

@wahowaho
Copy link

wahowaho commented Nov 7, 2018

npm start ; [1] 18.11.07 09:57:42 304 GET /rxjs/internal/observable/dom/ajax.js
[1] 18.11.07 09:57:42 304 GET /rxjs/internal/util/root.js
[1] 18.11.07 09:57:42 304 GET /rxjs/internal/util/applyMixins.js
[1] 18.11.07 09:57:46 404 GET /codemirror-minified
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/hint/show-hint
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/scroll/annotatescrollbar
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/display/placeholder[1] 18.11.07 09:57:46 404 GET /codemirror-minified/mode/meta
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/scroll/simplescrollbars
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/edit/matchbrackets
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/lint/lint
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/lint/json-lint
[1] 18.11.07 09:57:46 404 GET /codemirror-minified/addon/lint/javascript-lint

why?

@BoykoAlex
Copy link
Collaborator

BoykoAlex commented Nov 7, 2018

Why codemirror addons are pulled in?
The example has a property editing dialog. The rabbit node has a snippet property that allows one to enter a code snippet in a language picked in language property.

Why 404? Hmm... hard to tell... the example seems to work... What's the context of the 404? Can you point to a project git repo?
Perhaps all you need is delete node_modules folder and package-lock.json and run npm install again.

@BoykoAlex
Copy link
Collaborator

Still having this problem?

@dmytrobr
Copy link

I have the same issue

@dmytrobr
Copy link

npm --version
6.4.1

@dmytrobr
Copy link

I've tried to switch to other GIT branches, but getting the same error.
On "npm start" command new browser windows opens, but UI is never loaded and I see 404 in both Chrome logs and NodeJS logs

@dmytrobr
Copy link

dmytrobr commented Nov 16, 2018

What i can see is that actual script on the filesystem has .js extension.
ls node_modules/codemirror-minified/addon/hint/show-hint.js
node_modules/codemirror-minified/addon/hint/show-hint.js

But URL that I see in logs "GET /codemirror-minified/addon/hint/show-hint"

@BoykoAlex
Copy link
Collaborator

Fixed now. Thanks for reporting this... I have switched to codemirror-minified because uglify plugin in webpack fails to uglify codemirror lib correctly and instead just corrupts the code.
I had the code in the local branch, published the changes to npm but forgot to merge these changes to master (!!!). Now it should be all in order.

@frankyaorenjie
Copy link

frankyaorenjie commented Dec 14, 2018

still the same issue, logs in console after npm start said 404 for /codemirror-minified/addon/hint/show-hint

master branch

@BoykoAlex
Copy link
Collaborator

Try now. This commit should have fixed it: ffe5cff

P.S. Such a mess with codemirror -> codemirror-minified swicth :-(

@frankyaorenjie
Copy link

Thanks @BoykoAlex

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

No branches or pull requests

4 participants