This is a minimal setup which suppose to get feathers.js
+ next.js
, how ever, it has some issues.
It generates a feathers app with feathers generator. Then add next
support by using npm i next react react-dom
.
npm run build
npm run startc
- Open
http://localhost:3050/index
- The page get renders. But there are errors in the console.
Refused to execute script from 'http://localhost:3030/_next/1517717442914/manifest.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
index:1 Refused to execute script from 'http://localhost:3030/_next/1517717442914/commons.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
index:1 Refused to execute script from 'http://localhost:3030/_next/1517717442914/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
index:1 Refused to execute script from 'http://localhost:3030/_next/1517717442914/page/index.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
index:1 Refused to execute script from 'http://localhost:3030/_next/1517717442914/page/_error.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.