文章浏览阅读4k次。D:\CODE\babel模块化>npx babel-node index.jsD:\CODE\babel模块化\index.js:2import m1 from './m1.js';^^^^^^SyntaxError: Cannot use import statement outside a module?[90m at Module._compile (intern..._babel-node cannot use import statement outside a module...
文章浏览阅读843次。使用angular新建项目后,在项目下新建组件库时报错:The new command requires to be run outside of a project, but a project definition was found at “D:\Workspace\WebstormProjects\nz-supzorro\angular.json”.The new command requires to be run outside of a......