-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: Named export 'stringifyPosition' not found. after fresh install #5
Comments
What version of Node.js are you using? |
Running into this same problem, on Node 16.20 |
pelase try install the package below: pnpm install unist-util-stringify-position it's solved the problem on my project. Node: 16.17 |
This issue also appears:
|
Hi, can you guys try with pnpm instead? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I work with yarn and after running yarn dev i got this error, any idea :(?
`file:///C:/xampp816/htdocs/nuxt3-tailwind-kit-main/.nuxt/dev/index.mjs:30
import { stringifyPosition } from 'file://C:/xampp816/htdocs/nuxt3-tailwind-kit-main/node_modules/unist-util-stringify-position/index.js';
^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'stringifyPosition' not found. The requested module 'file://C:/xampp816/htdocs/nuxt3-tailwind-kit-main/node_modules/unist-util-stringify-position/index.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'file://C:/xampp816/htdocs/nuxt3-tailwind-kit-main/node_modules/unist-util-stringify-position/index.js';
const { stringifyPosition } = pkg;
The text was updated successfully, but these errors were encountered: