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

npm run build失败 #1399

Open
wanmingyue66 opened this issue Jul 27, 2023 · 0 comments
Open

npm run build失败 #1399

wanmingyue66 opened this issue Jul 27, 2023 · 0 comments

Comments

@wanmingyue66
Copy link

wanmingyue66 commented Jul 27, 2023

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/addon/display/fullscreen.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 6:0-49
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/addon/display/placeholder.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 9:0-50
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/addon/edit/continuelist.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 4:0-48
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/addon/mode/overlay.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 8:0-43
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/addon/selection/mark-selection.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 10:0-55
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/mode/gfm/gfm.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 11:0-37
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/mode/markdown/markdown.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 7:0-47
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in ./node_modules/simplemde/src/js/simplemde.js
Module not found: Error: Can't resolve 'codemirror/mode/xml/xml.js' in '/Users/mrsir18/Downloads/iview-admin-dev/node_modules/simplemde/src/js'
@ ./node_modules/simplemde/src/js/simplemde.js 12:0-37
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/views/my-components/markdown-editor/markdown-editor.vue
@ ./src/router/router.js
@ ./src/main.js

ERROR in 1.aa60ad825d1c7e205f49.chunk.js from UglifyJs
Unexpected token: name (target) [1.aa60ad825d1c7e205f49.chunk.js:118,8]
Child html-webpack-plugin for "../index.html":
1 asset
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js?minimize!node_modules/autoprefixer-loader/index.js!node_modules/iview/dist/styles/iview.css:
Asset Size Chunks Chunk Names
2c2ae068be3b089e0a5b59abb1831550.eot 121 kB [emitted]
24712f6c47821394fba7942fbb52c3b2.ttf 189 kB [emitted]
05acfdb568b3df49ad31355b19495d4a.woff 67.9 kB [emitted]
621bd386841f74e0053cb8e67f8a0604.svg 334 kB [emitted] [big]
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: webpack --progress --hide-modules --config build/webpack.prod.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mrSir18/.npm/_logs/2023-07-27T09_52_03_375Z-debug.log

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

1 participant