Description
I always use it well. Thank you. (ARC ssr)
When using "react-calendar" there is a conflict with "node_modules/react-calendar/dist/entry.js".
Probably.
There seems to be a problem with the "server webpack config".
The way "issue" in 2017 is correctly invoked in "Client Config" and is correctly invoked through "Css-loader," but is before "Styled-Component".
`
arc@0.1.0 start C:\Users\test\Desktop\projects\test\admin
node .
C:\Users\test\Desktop\projects\test\admin\node_modules\react-calendar\dist\Calendar.css:1
(function (exports, require, module, __filename, __dirname) { .react-calendar {
^
SyntaxError: Unexpected token .
at new Script (vm.js:51:7)
at createScript (vm.js:136:10)
at Object.runInThisContext (vm.js:197:10)
at Module._compile (module.js:613:28)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! arc@0.1.0 start: node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the arc@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
`
Other people seem to be having problems, and I wonder if there is no way to solve them at all.
I've tried to figure out a number of ways, but eventually, I think I'll need a manual on how to add it to "Asset.json."
Isn't there anyone nice who solved it in a different way?