Giter Club home page Giter Club logo

Comments (10)

zachariahtimothy avatar zachariahtimothy commented on July 1, 2024 1

I am running into the same issue using Typeface Roboto. I am using Next JS with Material design so maybe we can find a way to ignore some files, then add them as assets?

@goforward01 did you ever find a solution?

from pkg.

igorklopov avatar igorklopov commented on July 1, 2024

Hi! Please post code of minimal example. I need to know how front-end javascript code gets compiled as back-end code into executable. And then i'll try to figure out how to avoid it.

from pkg.

goforward01 avatar goforward01 commented on July 1, 2024

@igorklopov Okay, I added a simple example of using animate.css, btw, I modified the package.json too to make it work with pkg to produce the same error I met before.
vue-demo.zip

from pkg.

ainglese avatar ainglese commented on July 1, 2024

i've had a similar(but i think not the same) problem with a powershell script, it seemed pkg was trying to bundle the css as a script.

in my case the error was that i had specified:

"scripts": [
      "libs/**/*"
    ],

changing it to:

"scripts": [
      "libs/**/*.js"
    ],

solved the problem. hope it helps!

from pkg.

igorklopov avatar igorklopov commented on July 1, 2024

TODO. Warning if someone tries to use a .css file in "scripts"

from pkg.

SwarmKlaus avatar SwarmKlaus commented on July 1, 2024

I ran into the exact same problem. Even using your vue-demo project:
image

from pkg.

SwarmKlaus avatar SwarmKlaus commented on July 1, 2024

Hi Igor,

could you help me on this issue, please? As mentioned, I get the same error even using your vue-demo project. What could be wrong?

from pkg.

vitali-korezki avatar vitali-korezki commented on July 1, 2024

Hey guys,

I have a similar issue with .js.map files, by trying create a package for socket.io app.

Error! Unexpected token (1:10)
/Users/.../Development/projects/app/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.js.map

Has someone any idea, how to fix this? Will be really great!

Thanks,
VK

from pkg.

github-actions avatar github-actions commented on July 1, 2024

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

from pkg.

github-actions avatar github-actions commented on July 1, 2024

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

from pkg.

Related Issues (20)

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.