-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Description
Versions
- nuxt:
2.14.2 - node:
15.0.1
Reproduction
Just install dependencies and run yarn dev to build the project.
Steps to reproduce
See above
What is Expected?
Both Client and Server bundle being build properly, app runs without any dependency errors.
What is actually happening?
Locally Client bundle is getting stuck at 68-69% while building . After a while it passes to the end, but there's a lot of warnings from ./node_modules and 154 dependencies are missing.
While build on Netlify, logs errors starts from
[fatal] Nuxt build error
6:51:52 PM: ERROR in ./node_modules/sirv/build.mjs 42:18-22
6:51:52 PM: Can't import the named export 'join' from non EcmaScript module (only default export is available)
@ (webpack)-bundle-analyzer/lib/viewer.js
Don't exactly know when it started to happen. I'm almost certain that I didn't added any new dependency whatsoever. I've already searched for some solution, but nothing really helped with it. I'm completely stuck with this, can anyone help me? :(
Here's my package.json file:
{
"name": "olszowski-nuxt-prismic",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@babel/preset-env": "~7.12.0",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/prismic": "^1.2.6",
"@prismicio/client": "^4.0.0",
"core-js": "^3.8.3",
"node-sass": "^5.0.0",
"nuxt": "^2.14.2",
"nuxt-lazy-load": "^1.2.6",
"prismic-javascript": "^3.0.2",
"sass-loader": "^10.1.1",
"vuex": "^3.6.2"
},
"devDependencies": {},
"resolutions": {
"@babel/preset-env": "7.12.17"
}
}
Reactions are currently unavailable