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
/Users/admin/sites/.../email-wizard/node_modules/react-iframe/index.js:1
(function (exports, require, module, __filename, __dirname) { import React, {PureComponent} from "react"
SyntaxError: Unexpected token import
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/admin/sites/.../email-wizard/.next/dist/components/Preview.js:15:20)
at Module._compile (module.js:571:32)
as you can see my package.json is a bit messy :) I tried a few presetes but with no luck...
The text was updated successfully, but these errors were encountered:
hi, here is my repo: https://github.com/achtan/nextjs-unexpected-token-import
when i run
npm run dev
i see this error:as you can see my package.json is a bit messy :) I tried a few presetes but with no luck...
The text was updated successfully, but these errors were encountered: