Code Monkey home page Code Monkey logo

camelnotes's Introduction

camelnotes's People

Contributors

michaelkolesidis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

camelnotes's Issues

Error when compiling in production mode

When compiling in development mode, everything works without any problem. But when attempting to compile in production mode, I get his error:

> [email protected] build
> webpack build --mode production

assets by status 733 bytes [cached] 2 assets
runtime modules 1.06 KiB 2 modules
./src/index.js 79 bytes [built] [code generated]

ERROR in 059bfb46c836495d9b216d612e4b48ef.js
059bfb46c836495d9b216d612e4b48ef.js from Terser plugin
Unexpected token: operator (<) [059bfb46c836495d9b216d612e4b48ef.js:6,16]
    at js_error (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:546:11)
    at croak (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:1270:9)
    at token_error (/camelnotes/node_modules/terser/dist/bundle.min.js:1278:9)
    at unexpected (/camelnotes/node_modules/terser/dist/bundle.min.js:1284:9)
    at expr_atom (/camelnotes/node_modules/terser/dist/bundle.min.js:2523:9)
    at maybe_unary (/camelnotes/node_modules/terser/dist/bundle.min.js:3308:19)
    at expr_ops (/camelnotes/node_modules/terser/dist/bundle.min.js:3359:24)
    at maybe_conditional (/camelnotes/node_modules/terser/dist/bundle.min.js:3364:20)
    at maybe_assign (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:3441:20)
    at expression (/camelnotes/node_modules/terser/dist/bundle.min.js:3466:24)

webpack 5.73.0 compiled with 1 error in 186 ms

Apparently, it caused by the Terser plugin.

Any help would be more than welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.