проблема узла sass chokidar @import css при загрузке библиотеки css - PullRequest
0 голосов
/ 09 января 2019

Ошибка: файл для импорта не найден или не читается.

Estou utilisando a versão mais новинка реагируют

index.scss
@import '~bulma/bulma'

"реагировать": "^ 16.7.0", "node-sass-chokidar": "^ 1.3.4",

"scripts": {
    "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive ",
    "start-js": "react-scripts start",
    "start": "npm-run-all -p watch-css start-js",
    "build-js": "react-scripts build",
    "build": "npm-run-all build-css build-js",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  },


  "status": 1,
  "file": "/Users/marcelo/Dropbox/Projetos/IRMEI/app-mobile/src/index.scss",
  "line": 1,
  "column": 1,
  "message": "File to import not found or unreadable: ~bulma/bulma.",
  "formatted": "Error: File to import not found or unreadable: ~bulma/bulma.\n        on line 1 of src/index.scss\n>> @import \"~bulma/bulma\";\n\n   ^\n"
...