Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

I get an unexpected token error for css file on npm run build command #70

Open
@ConnectedReasoning

Description

@ConnectedReasoning

ERROR in ./node_modules/react-images-upload/index.css
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| .fileUploader {
| width: 100%;
| }
@ ./node_modules/react-images-upload/compiled.js 17:0-22
@ ./src/components/cards/card.js
@ ./src/components/cards/cards.js
@ ./src/app.js
@ ./src/index.js
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: NODE_ENV=production webpack --config ./webpack.config.js --progress --colors
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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:
npm ERR! /Users/manuel/.npm/_logs/2018-08-31T14_16_11_628Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions