jakeprins / nextwind Goto Github PK
View Code? Open in Web Editor NEWA Next.js + Tailwind + Netlify CMS starter-kit
A Next.js + Tailwind + Netlify CMS starter-kit
I want to enable Only Login via Netlify identity, which has email and google login options.
How can I incorporate this change in this repo?
as of now it's only showing me an email password form.
Hey, I apologize if this issue should not be here but instead go to NetlifyCMS, but since it's happening with this project both locally and deployed and the only change I made was connect with my own repo. I changed some netlify settings in this repo as well but it did nothing. The public page works fine.
When developing locally, I get this error:
And no content loads:
And some errors:
config.yml is also not found, not sure if that matters.
Getting this when trying to run:
$ yarn dev
yarn run v1.22.5
warning package.json: No license field
$ next dev
ready - started server on http://localhost:3000
error - ./src/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-6-2!./src/css/tailwind.css)
TypeError: Object.entries(...).flatMap is not a function
at Array.forEach (<anonymous>)
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
event - build page: /next/dist/pages/_error
wait - compiling...
error - ./src/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-6-2!./src/css/tailwind.css)
TypeError: getProcessedPlugins is not a function
^C
Consider adding a live preview and link to it in the repo.
Netlify error log:
10:01:50 AM: build-image version: 9495be345de05eb8e91837e5d92c5afd0dbd65f6 (focal)
10:01:50 AM: buildbot version: 9495be345de05eb8e91837e5d92c5afd0dbd65f6
10:01:50 AM: Fetching cached dependencies
10:01:50 AM: Failed to fetch cache, continuing with build
10:01:50 AM: Starting to prepare the repo for build
10:01:50 AM: No cached dependencies found. Cloning fresh repo
10:01:50 AM: git clone --filter=blob:none https://github.com/facinick/drakapoor
10:01:51 AM: Preparing Git Reference refs/heads/master
10:01:51 AM: Parsing package.json dependencies
10:01:53 AM: Starting build script
10:01:53 AM: Installing dependencies
10:01:53 AM: Python version set to 2.7
10:01:53 AM: v16.19.0 is already installed.
10:01:53 AM: Now using node v16.19.0 (npm v8.19.3)
10:01:54 AM: Enabling Node.js Corepack
10:01:54 AM: Started restoring cached build plugins
10:01:54 AM: Finished restoring cached build plugins
10:01:54 AM: Attempting Ruby version 2.7.2, read from environment
10:01:54 AM: Using Ruby version 2.7.2
10:01:55 AM: Using PHP version 8.0
10:01:55 AM: Started restoring cached corepack dependencies
10:01:55 AM: Finished restoring cached corepack dependencies
10:01:55 AM: Started restoring cached yarn cache
10:01:55 AM: Finished restoring cached yarn cache
10:01:55 AM: No yarn workspaces detected
10:01:55 AM: Started restoring cached node modules
10:01:55 AM: Finished restoring cached node modules
10:01:55 AM: Installing npm packages using Yarn version 1.22.19
10:01:55 AM: yarn install v1.22.19
10:01:55 AM: warning package.json: No license field
10:01:55 AM: warning [email protected]: No license field
10:01:55 AM: [1/4] Resolving packages...
10:01:56 AM: [2/4] Fetching packages...
10:02:11 AM: [3/4] Linking dependencies...
10:02:11 AM: warning " > @tailwindcss/[email protected]" has incorrect peer dependency "tailwindcss@^1.5.0".
10:02:11 AM: warning "netlify-cms-app > [email protected]" has unmet peer dependency "codemirror@^5.46.0".
10:02:11 AM: warning "netlify-cms-app > [email protected]" has unmet peer dependency "netlify-cms-lib-widgets@^1.0.0".
10:02:11 AM: warning "netlify-cms-app > [email protected]" has unmet peer dependency "netlify-cms-lib-widgets@^1.0.0".
10:02:11 AM: warning "netlify-cms-app > [email protected]" has unmet peer dependency "netlify-cms-lib-widgets@^1.0.0".
10:02:11 AM: warning "netlify-cms-app > netlify-cms-core > [email protected]" has unmet peer dependency "react-router@^4.3.1 || ^5.0.0".
10:02:11 AM: warning "netlify-cms-app > netlify-cms-core > [email protected]" has unmet peer dependency "seamless-immutable@^7.1.3".
10:02:11 AM: warning "netlify-cms-app > netlify-cms-widget-code > [email protected]" has unmet peer dependency "[email protected]".
10:02:11 AM: warning "netlify-cms-app > netlify-cms-core > redux-notifications > [email protected]" has incorrect peer dependency "redux@^2.0.0 || ^3.0.0".
10:02:11 AM: warning "next > [email protected]" has incorrect peer dependency "react@^17.0.0".
10:02:19 AM: [4/4] Building fresh packages...
10:02:22 AM: Done in 26.61s.
10:02:22 AM: npm packages installed using Yarn
10:02:22 AM: warning package.json: No license field
10:02:22 AM: Started restoring cached go cache
10:02:22 AM: Finished restoring cached go cache
10:02:22 AM: go version go1.19.5 linux/amd64
10:02:22 AM: Detected 1 framework(s)
10:02:22 AM: "next" at version "10.0.0"
10:02:22 AM: Installing missing commands
10:02:22 AM: Verify run directory
10:02:22 AM: Section completed: initializing
10:02:24 AM:
10:02:24 AM: Netlify Build
10:02:24 AM: ────────────────────────────────────────────────────────────────
10:02:24 AM:
10:02:24 AM: ❯ Version
10:02:24 AM: @netlify/build 29.5.4
10:02:24 AM:
10:02:24 AM: ❯ Flags
10:02:24 AM: baseRelDir: true
10:02:24 AM: buildId: 63e477320e90ed398b38af6d
10:02:24 AM: deployId: 63e477320e90ed398b38af6f
10:02:24 AM:
10:02:24 AM: ❯ Current directory
10:02:24 AM: /opt/build/repo
10:02:24 AM:
10:02:24 AM: ❯ Config file
10:02:24 AM: No config file was defined: using default values.
10:02:24 AM:
10:02:24 AM: ❯ Context
10:02:24 AM: production
10:02:24 AM:
10:02:24 AM: ❯ Installing plugins
10:02:24 AM: - @netlify/[email protected]
10:02:30 AM:
10:02:30 AM: ❯ Using Next.js Runtime - v3.9.2
10:02:30 AM:
10:02:30 AM: ❯ Outdated plugins
10:02:30 AM: - @netlify/[email protected]: latest version is 4.30.4
10:02:30 AM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
10:02:32 AM:
10:02:32 AM: 1. @netlify/plugin-nextjs (onPreBuild event)
10:02:32 AM: ────────────────────────────────────────────────────────────────
10:02:32 AM:
10:02:32 AM: Using Next.js 10.0.0
10:02:32 AM:
10:02:32 AM: Plugin "@netlify/plugin-nextjs" failed
10:02:32 AM: ────────────────────────────────────────────────────────────────
10:02:32 AM:
10:02:32 AM: Error message
10:02:32 AM: Error: Please upgrade to Next.js 10.0.6 or later.
10:02:32 AM:
10:02:32 AM: Plugin details
10:02:32 AM: Package: @netlify/plugin-nextjs
10:02:32 AM: Version: 3.9.2
10:02:32 AM: Repository: git+https://github.com/netlify/netlify-plugin-nextjs.git
10:02:32 AM: npm link: https://www.npmjs.com/package/@netlify/plugin-nextjs
10:02:32 AM: Report issues: https://github.com/netlify/netlify-plugin-nextjs/issues
10:02:32 AM:
10:02:32 AM: Error location
10:02:32 AM: In "onPreBuild" event in "@netlify/plugin-nextjs" from Netlify app
10:02:32 AM:
10:02:32 AM: Resolved config
10:02:32 AM: build:
10:02:32 AM: command: yarn build
10:02:32 AM: commandOrigin: ui
10:02:32 AM: publish: /opt/build/repo/.next
10:02:32 AM: publishOrigin: ui
10:02:32 AM: plugins:
10:02:32 AM: - inputs: {}
10:02:32 AM: origin: ui
10:02:32 AM: package: '@netlify/plugin-nextjs'
10:02:32 AM: Caching artifacts
10:02:32 AM: Started saving node modules
10:02:32 AM: Finished saving node modules
10:02:32 AM: Started saving build plugins
10:02:32 AM: Finished saving build plugins
10:02:32 AM: Started saving corepack cache
10:02:32 AM: Finished saving corepack cache
10:02:32 AM: Started saving yarn cache
10:02:35 AM: Finished saving yarn cache
10:02:35 AM: Started saving pip cache
10:02:35 AM: Finished saving pip cache
10:02:35 AM: Started saving emacs cask dependencies
10:02:35 AM: Finished saving emacs cask dependencies
10:02:35 AM: Started saving maven dependencies
10:02:35 AM: Finished saving maven dependencies
10:02:35 AM: Started saving boot dependencies
10:02:35 AM: Finished saving boot dependencies
10:02:35 AM: Started saving rust rustup cache
10:02:35 AM: Finished saving rust rustup cache
10:02:35 AM: Started saving go dependencies
10:02:35 AM: Finished saving go dependencies
10:02:36 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:02:36 AM: Failing build: Failed to build site
10:02:36 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:02:36 AM: Finished processing build request in 45.933s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.