Open liumapp opened 6 years ago
I tried with the same version of my Node.js and npm, but it did not reproduce. Have you noticed anything else?
I copied the whole error info below :
ERROR Failed to compile with 1 errors 23:00:48
error in ./src/directive/modules/clipboard.js
Module build failed: TypeError: Cannot read property 'type' of undefined
at hasTypeOfOperator (/usr/local/tomcat/project/plantuml-editor/node_modules/_eslint@4.16.0@eslint/lib/rules/no-undef.js:19:19)
at Program:exit.globalScope.through.forEach.ref (/usr/local/tomcat/project/plantuml-editor/node_modules/_eslint@4.16.0@eslint/lib/rules/no-undef.js:59:44)
at Array.forEach (
@ ./src/directive/index.js 8:0-44 @ ./~/_babel-loader@6.4.1@babel-loader/lib!./~/_vue-loader@13.5.0@vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/App.vue @ ./src/App.vue @ ./src/main.js @ multi ./build/dev-client ./src/main.js
Listening at http://localhost:8080
Please try the following procedure
./node_modules
folderHas your package-lock.json
file changed?
Now it works , tks a lot . But there is one more question . My ip address belong to China , the main land , which makes it hard to acquire some resources . I solved this problem by using Lantern , so , it shall be helpful for the others if you mention this in README.md .
This application uses heroku for PlantUML server. it takes time to start up, because it uses free plan of heroku. I'm considering features that allow you to set up your own PlantUML server. Please wait for a little while.
ERROR Failed to compile with 2 errors 09:44:01
one is in ./src/components/Editor.vue (Module build failed: TypeError: Cannot read property 'type' of undefined)
the next error in ./src/directive/modules/clipboard.js(Module build failed: TypeError: Cannot read property 'type' of undefined)
and the page look like this .
my node version is 9.4.0 and npm version is 5.6.0