comp426-2022-fall / assignments

This repository contains information about and links to assignment invites and
Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

Clarification needed: Can't Set Type of NPM Package #1

Closed bdhack23 closed 1 year ago

bdhack23 commented 1 year ago

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.

bdhack23 commented 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.

bdhack23 commented 1 year ago

Problem still not solved, but professor said that we will get around to figuring it out.

mjsherry commented 1 year ago

I am having this issue as well!

naomi04 commented 1 year ago

I ended up manually adding the field to the appropriate file and that seemed to do the trick!

smelliskay commented 1 year ago

^^^ 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.

camsimba commented 1 year ago

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!

bdhack23 commented 1 year ago

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. :(