Giter VIP home page Giter VIP logo

Comments (13)

christopherpickering avatar christopherpickering commented on June 14, 2024

Thanks!

  • Do you have git installed?

It seems as tho GitHub.com is blocked on your network when doing "automated" work. I've seen this in other institutions.

One way to bypass manually -

  1. comment out line 3 in the package.json
  2. run npm install
  3. manually download https://github.com/christopherpickering/bulma-badge into atlas/node_modules/@creativebulma/bulma-badge

image

From there you should be able to run npm db:update and npm start.

If this works for you I will see about moving that package onto npm.. the original maintainer doesn't seem to be taking pr's.

I'm free 8-9 AM cst on Wednesday if you would like to call to talk more. [email protected]

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

I'm a little confused about which line to comment out in package.json. Here's the top of the file:

{
  "description": "Atlas BI Library",
  "devDependencies": {
    "@babel/preset-env": "7.20.2",
    "@creativebulma/bulma-badge": "github:christopherpickering/bulma-badge",

I have been able to run git submodule update --remote --merge from my VS Code terminal with no issue.

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

The line "@creativebulma/bulma-badge": "github:christopherpickering/bulma-badge", can be commented out, sorry, I had the line # wrong!

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

I was able to get further, but I don't think the project is building correctly. npm start results in:

> gulp start

'gulp' is not recognized as an internal or external command,
operable program or batch file.

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

npm install still results in:

npm http 304 https://registry.npmjs.org/semantic-release
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\lib\cache.js:753:14)
npm ERR!     at C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\lib\cache.js:841:12
npm ERR!     at saved (C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\node_modules\npm-registry-client\lib\get.js:148:7)
npm ERR!     at C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\node_modules\graceful-fs\polyfills.js:133:7
npm ERR!     at FSReqCallback.oncomplete (node:fs:188:23)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 10.0.17763
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\ProgramData\\chocolatey\\lib\\npm\\tools\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\jmpugh_dladm\atlas-bi-library
npm ERR! node -v v19.2.0
npm ERR! npm -v 1.4.9
npm ERR! code E405
npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/github:atlas-bi/bulma-steps)
npm WARN `git config --get remote.origin.url` returned wrong result ([email protected]:github:atlas-bi/bulma-steps)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\jmpugh_dladm\atlas-bi-library\npm-debug.log
npm ERR! not ok code 0

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

Hey! It looks like you are blocked from downloading from GitHub by your network. There are a few more npm packages that are coming from github. In the error you have now it is for github:atlas-bi/bulma-steps.

You will need to either

  1. unblock GitHub
  2. remove all references to GitHub in the package.json file and manually download those packages.

I'm happy to give you a call to go through this with you.

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

I've worked with my Network Team to make sure traffic isn't being blocked on the firewall and my Info Sec Team to make sure it's not getting filtered by web filtering. We did make some changes to the firewall, but it's still failing for me. It looks to me like the problem is the HTTP 405 errors the NPM registry is returning.

npm http 405 https://registry.npmjs.org/semantic-release/release-notes-generator
npm http 304 https://registry.npmjs.org/bulma-steps-component
npm http 304 https://registry.npmjs.org/semantic-release
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\lib\cache.js:753:14)
npm ERR!     at C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\lib\cache.js:841:12
npm ERR!     at saved (C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\node_modules\npm-registry-client\lib\get.js:148:7)
npm ERR!     at C:\ProgramData\chocolatey\lib\npm\tools\node_modules\npm\node_modules\graceful-fs\polyfills.js:133:7
npm ERR!     at FSReqCallback.oncomplete (node:fs:188:23)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 10.0.17763
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\ProgramData\\chocolatey\\lib\\npm\\tools\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\jmpugh_dladm\atlas-bi-library
npm ERR! node -v v19.2.0
npm ERR! npm -v 1.4.9
npm ERR! code E405

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

hmm It seems like something in the network is still not quite right. Can you try this suggestion in the package.json file, then try npm install again?

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

oh just noticing your npm version.. 1.4. we are on 9.

can you try npm install npm@latest -g to update it?

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

@ImNtReal Did you do a fresh install of node? I'm wondering how you got npm 1.4 and the latest npm should have come in when you installed node... or do you have any ideas how you managed to get that version?

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

I just realized that as well. It was because I had installed npm separately from node, and it turns out that's an old package. I already had npm 8 installed along with node, so I removed the extra older version. It seems to be doing better.

from library.

ImNtReal avatar ImNtReal commented on June 14, 2024

For anyone looking to install node on Windows using Chocolatey, don't also install npm. The separate package is older than the one that ships with node. Getting rid of the old version allowed me to complete the install. I've run into a database connection issue, but I will troubleshoot that, and open a different issue if I can't get past it.

Thanks for helping get this sorted.

from library.

christopherpickering avatar christopherpickering commented on June 14, 2024

sweet!

from library.

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.