Closed pcraig3 closed 3 years ago
I am having a hard time determining what the problem is and cannot duplicate the issue.
For clarification,
FYI, I'm getting the same, on Windows even after updating to the latest LTS Node v14.16.1 npm v6.14.12
@s-laugh you're error is happening because you don't have the CMS running locally or you don't have a .env
file with the url to the dev instance of the CMS. The two options to fix this are:
.env
file at the root of the project and include NEXT_PUBLIC_STRAPI_API_URL=https://benefits-finder-cms-api-dev.dev.dts-stn.com
A bit late here, but I am no longer able to reproduce this issue.
Steps I followed:
rm -rf node_modules package-lock.json
npm i --force
.env
file as detailed aboveNote just doing npm i
will cause an error.
Hey all, I just trie pulling down the code and building it and got an internal server error.
Steps to reproduce:
npm i
npm run dev
npm run dev
Here is the full stacktrace.
``` ready - started server on 0.0.0.0:3000, url: http://localhost:3000 info - Using webpack 4. Reason: future.webpack5 option not enabled https://nextjs.org/docs/messages/webpack5 postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration info - Using external babel configuration from /Users/paul/Desktop/dts/Benefits-Finder/.babelrc error - ./icomoon/style.css ((webpack)/css-loader/cjs.js??ref--5-oneOf-6-1!(webpack)/postcss-loader/cjs.js??ref--5-oneOf-6-2!./icomoon/style.css) TypeError: Cannot read property 'unprefixed' of undefined event - build page: /next/dist/pages/_error wait - compiling... error - ./icomoon/style.css ((webpack)/css-loader/cjs.js??ref--5-oneOf-6-1!(webpack)/postcss-loader/cjs.js??ref--5-oneOf-6-2!./icomoon/style.css) TypeError: Cannot read property 'unprefixed' of undefined at runMicrotasks (