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

Errors with npm install and Running #9

Closed
jshuadvd opened this issue Dec 13, 2015 · 3 comments
Closed

Errors with npm install and Running #9

jshuadvd opened this issue Dec 13, 2015 · 3 comments

Comments

@jshuadvd
Copy link

Hi there. I have tried several times to get the development version working to no avail. Here is a screen shot of my terminal:
screen shot 2015-12-12 at 6 59 23 pm

I have done everything I can think of. The demo will not load at all. I have successfully installed via npm in my project and I can get the markdown rendered to the page, but nothing else. The documentation is unclear on how to get this to look like the demo page as well as how to start the demo. I tried the webpack command, npm start everything. I even created a directory and tried to run gulp to see if I could fix it, but no there also. Can you provide me an explanation as to what I am doing wrong?

@rexxars
Copy link
Collaborator

rexxars commented Dec 14, 2015

Things move quickly in the javascript world. I've done a few changes now that ensures that the prepublish step is not run on install. I've also made sure that the projects builds with the correct and latest versions of babel, and I've fixed an issue that was causing webpack not to output correct bundles.

Can you please give it another shot?

I'm not sure what exactly you are trying to do - the demo is runnable by serving the demo/dist folder through a webserver (npm install -g node-static && static demo/dist, for instance). If you want to make changes to the demo, you can run the watch task at the same time: npm run watch.

The primary use case isn't a side-by-side editor/preview thing, which is why I have not given much thought to how the demo should be run or the quality of the codemirror integration that's currently running there.

@rexxars
Copy link
Collaborator

rexxars commented Dec 16, 2015

Closing this since I have not heard back. Let me know if I can help further.

@rexxars rexxars closed this as completed Dec 16, 2015
@jshuadvd
Copy link
Author

Apologies for the delay as I didn't realize you responded. I will try the new method that you mentioned and let you know my results.

As for what I am trying to do is to simply get this running and be able to test the demo and see how everything was working. I could not accomplish that with the current instructions that are provided on the read me.

I understand that the demo is not your primary concern, but it does help me for the use case and wanted to see how everything worked in a live setting even though I can read the code and determine what is happening. Thanks for your prompt response. If you don't mind , please keep this open so that I may respond with my results. I hope all is well.

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

No branches or pull requests

2 participants