menu

JS Everywhere

A community for the JavaScript Everywhere book by Adam Scott, published by O'Reilly.

Channels
Team

npm err! erros

June 8, 2020 at 11:36pm
I'm at the end of chapter 10 and I get an err when I attempt to run the curl command I think it may be an issue with my start up script, I've rebuild this app from the ground up not using the fork from git I have folder called notepad and. nested inside that folder a folder cal src which is where my package.json and package.lock.json files I have simple script to start the project which is "start": "nodemon app.js" I had issues pushing this to Heroku I did ran a 2nd git init command in src but the first was inside notepad which is the parent folder that contains src
why are't my curl command working

June 9, 2020 at 9:32pm
Hi ! It’s hard to say definitively, but it seems likely that the issue stems from the package.json being in a sub directory
Edited
  • reply
  • like
If I’m following your project setup correctly
  • reply
  • like
have you pushed your code to GitHub? If so I’m happy to take a look
Edited
  • reply
  • like