-
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix to some errors
Axorax edited this page Apr 14, 2023
·
1 revision
Go to the package.json
file for the project that you made. It should look something like this:
{
"name": "test-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"kith": "^1.0.0"
}
}
Now, add "type": "module"
to the package.json file.
{
"name": "test-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"type": "module",
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"kith": "^1.0.0"
}
}