We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the module import at this way: const windows1252 = require('windows-1252');
and at this way: import * as windows1252 from 'windows-1252';
I have this error: node_modules/windows-1252/windows-1252.mjs:284 export const decode = (input, options) => { ^^^^^^
SyntaxError: Unexpected token 'export'
The text was updated successfully, but these errors were encountered:
Which version of Node.js and npm are you using?
Sorry, something went wrong.
Hello Mathias: node 12.18.0, npm 6.14.4
Hello Mathias, I have the same problem
node: v18.3.0 npm: 8.12.1
I also have this issue node: v16.13.2 npm: 8.1.2
No branches or pull requests
Using the module import at this way:
const windows1252 = require('windows-1252');
and at this way:
import * as windows1252 from 'windows-1252';
I have this error:
node_modules/windows-1252/windows-1252.mjs:284
export const decode = (input, options) => {
^^^^^^
The text was updated successfully, but these errors were encountered: