Code Monkey home page Code Monkey logo

Comments (4)

MooersLab avatar MooersLab commented on August 29, 2024 1

from atom2yasnippets.

nothingrealhappen avatar nothingrealhappen commented on August 29, 2024

Hi @MooersLab

It's time to try atom2yas -u https://raw.githubusercontent.com/bryceosterhaus/atom-jest-snippets/master/snippets/custom.json -o ./dist on your local. the command only support the cson url on remote http/https server. maybe you can upload your local cson file to gist and get a raw content url. I will update the readme file to clarify this.

Thanks

from atom2yasnippets.

cloudnine avatar cloudnine commented on August 29, 2024

Hi,
I am using windows 10 wsl
I updated Node.js, npm, and installed atom2yasnippets.

atom2yas -u https://github.com/dsandstrom/atom-css-snippets/blob/master/snippets/css-snippets.cson -o ./dist

It works, and runs anyway the index.js but maybe has problems parsing the source?

erron when parse  https://github.com/dsandstrom/atom-css-snippets/blob/master/snippets/css-snippets.cson  as CSON file
(node:2329) UnhandledPromiseRejectionWarning: Error: [stdin]:31:96: error: missing / (unclosed regex)
  <title>atom-css-snippets/css-snippets.cson at master · dsandstrom/atom-css-snippets · GitHub</title>
                                                                                               ^
    at parseCSON (/usr/local/lib/node_modules/atom2yasnippets/index.js:32:15)
    at <anonymous>:null:null
    at process._tickCallback (internal/process/next_tick.js:188:7)

(node:2329) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2329) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any suggestions?

from atom2yasnippets.

cloudnine avatar cloudnine commented on August 29, 2024

Same result with another source.

erron "GitHub</title>" .

from atom2yasnippets.

Related Issues (1)

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.