Closed shyandsy closed 5 years ago
Hi, I think the problem is that it looks like you are trying to run an example for web browser in node. The examples in examples/browser
are meant for the web browser, the examples in examples/node
are for node.
hi
the error message occured when i install
look like the installation failed due to the deprecated package
发自我的 iPhone
在 2019年1月31日,06:16,Jakub Dundalek notifications@github.com 写道:
Hi, I think the problem is that it looks like you are trying to run an example for web browser in node. The examples in examples/browser are meant for the web browser, the examples in examples/node are for node.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
During installation it is just a warning, which is not too important. The real issue is ReferenceError: XMLHttpRequest is not defined
which indicates that you tried to run browser examples in node.js.
thanks u
I'm running npm start under browser folder, but there is error when I open mindmup
and the other example only show a root like this
Try running npm start at the top of the project folder.
yeah i did that
On Thu, Jan 31, 2019 at 3:28 PM Jakub Dundalek notifications@github.com wrote:
To run the browser examples you need to run npm start, instructions are written in the readme.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dundalek/markmap/issues/26#issuecomment-459513116, or mute the thread https://github.com/notifications/unsubscribe-auth/AFBvoZd7FMNMwH7hbw3rNp62roiBsr30ks5vI2ANgaJpZM4aa32L .
-- Yang Shi 201-15 bridgeland dr south R3Y 0E7
I see, you are right. A third party package broke it. I locked down the dependency versions, which fixes it.
Please try to pull the latest commit, then run npm install
again and after that npm start
should work again.
it works now
a start for you , thank u
great, thanks :+1:
when I use npm install command after git clone, there is some error message about the deprecated package browserslist.
I’m not familiar with nodejs, are there any solution?
then i try to use 'npm audit fix'
when I run the example js code, the error message shows below