sdli / next-antd-aza-less

A less loader tool for next.js and antd intergration
35 stars 2 forks source link

按照你的配置步骤配置后,项目可以跑起来,但是打包出 #9

Open 530212558 opened 5 years ago

530212558 commented 5 years ago

Build error occurred { D:\(WEB)\react\proscenic-next\node_modules\antd\lib\style\index.less:1 (function (exports, require, module, filename, dirname) { @import './themes/index'; ^

SyntaxError: Invalid or unexpected token at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:657:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) type: 'SyntaxError' } Creating an optimized production build .Automatically optimizing pages .npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! proscenic-next@0.1.0 build: next build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the proscenic-next@0.1.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

lbjlsy commented 4 years ago

兄弟解决了吗?

530212558 commented 4 years ago

没有解决,弃坑了

------------------ 原始邮件 ------------------ 发件人: "sdli/next-antd-aza-less" <notifications@github.com>; 发送时间: 2020年7月12日(星期天) 中午11:28 收件人: "sdli/next-antd-aza-less"<next-antd-aza-less@noreply.github.com>; 抄送: "♂"<530212558@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sdli/next-antd-aza-less] 按照你的配置步骤配置后,项目可以跑起来,但是打包出 (#9)

兄弟解决了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.