Git Product home page Git Product logo

Comments (5)

erikjung avatar erikjung commented on May 19, 2024

@mattWillis This appears to be a known problem with npm, based on some similar issues.

Can you try installing that package by itself?

npm install @cloudfour/hbs-helpers

Also, are you by chance behind a proxy or using an internal npm registry?

from drizzle.

mattWillis avatar mattWillis commented on May 19, 2024

@erikjung thanks for getting back to me. I tried installing the packages individually as well with no luck. Yeah also I saw the issue you posted, it seems to be an error with the "@" symbol. To test this I ran an npm init and tried to include an "@" in the package name and received the following: Sorry, name can only contain URL-friendly characters.

Do you mind if I ask why Cloud Four is using that naming scheme? It seems like removing the symbol would solve the problem. Oh, also, I am not currently behind a proxy or using an internal npm registry. Thanks again for your quick response!

from drizzle.

erikjung avatar erikjung commented on May 19, 2024

@mattWillis

Do you mind if I ask why Cloud Four is using that naming scheme? It seems like removing the symbol would solve the problem.

This is the naming scheme for scoped packages:
https://docs.npmjs.com/getting-started/scoped-packages

(See the above URL regarding npm init)

We decided to scope mainly because the tasks and helpers are catered very much to our needs and weren't initially intended to be standalone packages.

from drizzle.

erikjung avatar erikjung commented on May 19, 2024

@mattWillis

We'll look into how others have resolved the sporadic issues with scoped names.

One possible workaround you can try is to install from the repository instead of the npm registry:

npm install --save-dev cloudfour/core-hbs-helpers.git

(sudo might be needed if you get permission-related errors.)

The package name will be the same, so this might not resolve the problem, but it's worth a shot.

from drizzle.

mattWillis avatar mattWillis commented on May 19, 2024

@erikjung Sorry for the delay in getting back to you! I have tried to install the package using your suggested method but still am getting: Invalid name: "@cloudfour/hbs-helpers"

Bummed that I can't try out your project as it seems like it would be a great tool!

from drizzle.

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.