리액트 배우기

리액트 배우기 002

golang + mongodb jwt

https://www.codershood.info/2020/03/14/jwt-authentication-in-golang-tutorial-with-example-api/

 

$ yarn start
yarn run v1.22.10
$ yarn run tailwind && react-scripts start
$ tailwind build ./src/styles/tailwind-config.css -c ./tailwind.config.js -o ./src/styles/tailwind.css
G:\byoungguk_github\React_Go\Fuse-React-v5.3.0-demo\node_modules\tailwindcss\node_modules\fs-extra\lib\mkdirs\make-dir.js:85
      } catch {
              ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (G:\byoungguk_github\React_Go\Fuse-React-v5.3.0-demo\node_modules\tailwindcss\node_modules\fs-extra\lib\mkdirs\index.js:3:44)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

node 최신 버전으로 해야 함.

nvm 으로 최신버전 설치 가능함.

 

댓글

댓글 본문
버전 관리
Frank
현재 버전
선택 버전
graphittie 자세히 보기