You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using the preline/preline library in my Next.js (TypeScript) project. I followed the installation and setup instructions provided in the documentation. However, I’m encountering a build error that prevents the project from compiling. Below is the error message:
Module parse failed: Unexpected token (8:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
Steps to Reproduce:
1. Installed preline using npm
2. Followed the configuration steps from the documentation.
3. Ran the development server using npm run dev
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’m using the preline/preline library in my Next.js (TypeScript) project. I followed the installation and setup instructions provided in the documentation. However, I’m encountering a build error that prevents the project from compiling. Below is the error message:
Module parse failed: Unexpected token (8:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
Steps to Reproduce:
1. Installed preline using npm
2. Followed the configuration steps from the documentation.
3. Ran the development server using npm run dev
PrelineScriot.tsx
custom.d.ts
layout.tsx
Beta Was this translation helpful? Give feedback.
All reactions