Closed bdhack23 closed 1 year ago
A TA said that she would contact the professor about this since they can't figure it out, but I haven't heard anything yet.
Problem still not solved, but professor said that we will get around to figuring it out.
I am having this issue as well!
I ended up manually adding the field to the appropriate file and that seemed to do the trick!
^^^ I think this is just the solution. Sorry for the delay in response from the TAs but I think we misinterpreted the problem. You should be able to just manually add it to package.json and there shouldn't be any issues.
The directions of the midterm exam state that you must have type: 'module'
in package.json
, whether that is entered by prompt or manually you must have it in the file. Be sure to follow the directions, as they are stated clearly. Let me know if you have any other issues or questions moving forward!
I already tried adding it in manually, it was one of the first things I tried to do to fix the issue. However it still did not work. :(
When creating the NPM package for the midterm, I am never given the prompt to set the "type" field. But when looking over everything to confirm it is correct, the "type" field has git instead of module. I'm not sure how to set this field, any help would be appreciated.