wokayme / react-form-generator

Generate your own form by react
MIT License
15 stars 11 forks source link

there was an error when i applied to next.js #2

Open sptclr opened 5 years ago

sptclr commented 5 years ago

hello seapage, i want to report this error

node_modules\react-form-creator\dist\FormBuilder.css:1
(function (exports, require, module, __filename, __dirname) { #formBuilder{
                                                              ^

SyntaxError: Invalid or unexpected token
    at new Script (vm.js:79:7)
    at createScript (vm.js:251:10)
    at Object.runInThisContext (vm.js:303: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:22:18)
    at D:\GLHF\LEARN\FRONT END\bpmns1\node_modules\react-form-creator\dist\Field.js:5:44
    at Object.<anonymous> (D:\GLHF\LEARN\FRONT END\bpmns1\node_modules\react-form-creator\dist\Field.js:13:3)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    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)

could you fix it?

thank you