Closed puckey closed 4 years ago
Hmm that's very odd. It works for me, fresh install:
➜ dito-example git:(master) yarn install
yarn install v1.22.4
info No lockfile found.
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
warning @ditojs/server > @vue/cli-service > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @ditojs/server > koa-webpack > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
warning @ditojs/server > @vue/cli-service > @vue/cli-shared-utils > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
warning @ditojs/server > @vue/cli-service > @vue/cli-shared-utils > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @ditojs/server > @vue/cli-service > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @ditojs/server > koa-webpack > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
warning @ditojs/server > koa-webpack > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
warning @ditojs/server > koa-webpack > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
warning @ditojs/server > koa-webpack > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning @ditojs/server > koa-webpack > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
warning @ditojs/server > @vue/cli-service > @vue/cli-shared-utils > request > har-validator@5.1.5: this library is no longer supported
warning @ditojs/server > @vue/cli-service > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @ditojs/server > @vue/cli-service > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @ditojs/server > @vue/cli-service > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning sqlite3 > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @babel/cli > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning " > @ditojs/server@0.150.0" has incorrect peer dependency "knex@^0.20.0".
warning "@ditojs/server > babel-loader@8.1.0" has unmet peer dependency "webpack@>=2".
warning "@ditojs/server > koa-webpack@5.3.0" has unmet peer dependency "webpack@^4.28.0".
warning "@ditojs/server > @vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
warning "@ditojs/server > koa-webpack > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".
warning "@ditojs/server > koa-webpack > webpack-hot-client@4.1.2" has unmet peer dependency "webpack@^4.0.0".
warning "@ditojs/server > @ditojs/admin > tiptap-extensions > prosemirror-utils@0.9.6" has incorrect peer dependency "prosemirror-tables@^0.9.1".
warning "@ditojs/server > koa-webpack > webpack-hot-client > @webpack-contrib/schema-utils@1.0.0-beta.0" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[5/5] 🔨 Building fresh packages...
success Saved lockfile.
$ yarn clean && yarn build
yarn run v1.22.4
$ rimraf dist
✨ Done in 0.20s.
yarn run v1.22.4
$ yarn run build:src && yarn run build:admin
$ babel src -d dist --copy-files --source-maps inline
Successfully compiled 27 files with Babel (848ms).
$ cross-env NODE_ENV=production vue-cli-service build src/admin/index.js --dest dist/admin
⠹ Building for production...
WARNING Compiled with 2 warnings 11:34:25 PM
warning
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/chunk-vendors.b92e595e.js (1.45 MiB)
warning
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (1.46 MiB)
js/chunk-vendors.b92e595e.js
js/app.1c234e22.js
File Size Gzipped
dist/admin/js/chunk-vendors.b92e595e.j 1489.42 KiB 423.65 KiB
s
dist/admin/js/app.1c234e22.js 2.63 KiB 1.35 KiB
dist/admin/js/chunk-2d0da762.724aec7e. 1.93 KiB 0.97 KiB
js
dist/admin/js/chunk-2d230131.d3b5f07b. 0.62 KiB 0.41 KiB
js
dist/admin/js/chunk-2d208132.04feb807. 0.30 KiB 0.24 KiB
js
Images and other types of assets omitted.
DONE Build complete. The dist/admin directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
✨ Done in 19.53s.
✨ Done in 68.17s.
➜ dito-example git:(master)
Maybe you need to update Yarn?
How odd. I updated Yarn to the latest version, but it didn't have any effect on the error I am seeing.
@puckey could you check if this did it?
@lehni No, still the same error when installing
Hmpf… I'll look into it further!
It's linked to this, and I can reproduce it now: https://github.com/vuejs/vue-cli/pull/3760
@puckey this is fixed now, right?
This is now fixed.
When I do yarn install, I get the following error:
Full output below: