import vkQr from '@vkontakte/vk-qr'; // Returns SVG code of generated 256x256 QR code with VK logo const qrSvg = vkQr.createQR('Text to encode', { qrSize: 256, isShowLogo: true }); но при таком использовании консоль выдаёт: Cannot use import statement outside a module SyntaxError: Cannot use import statement outside a module This is one of the most common issue if you are trying to use ES6 features in your JavaScript project. Already on GitHub? 记一次在NUXT项目修改elementUI源码遇见的问题:Cannot use import statement outside a module Unexpected identifier buler_sky的博客 05-13 486 I chopped through 1/3 of the width of the cord leading to my angle grinder - it still works should I replace the cord? and added a new pic to my question. Doubt in the Invariance Property of Consistent Estimators. Ask Question Asked today. I tried another 20 ways with no success. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. How long was a sea journey from England to East Africa 1868-1877? This is one of the most common issue if you are trying to use ES6 features in your JavaScript project. So, all variables, classes, functions, etc. I have the same problem with VuePictureSwipe.. Multiplying imaginary numbers before we calculate i. It started after I switched from Linux to Windows App Service Plan. This means that you’re using the native source code in an unaltered/unbundled state, leading to the following error: Uncaught SyntaxError: Cannot use import statement outside a module. However, now it's a different error - but not related to this issue.