publish Failed PUT 402
npm ERR! publish Failed PUT 402
npm ERR! You must sign up for private packages : @justeat/{package-name}
Execute the publish command with public access — npm publish --access public
.
EPERM: operation not permitted
npm ERR! code EPERM
npm ERR! errno -4048
Error: EPERM: operation not permitted
Execute the npm login command — npm login
— on the command line then sign in using your npm credentials.
If you are having issues with SCSS eyeglass packages which cannot be located e.g.
Error: Could not import kickoff-utils from any of the following locations:
>> @import 'kickoff-utils'; // imports a set of helper functions and mixins – h
--------^
Check the dependencies section of the package.json file and ensure that the package in question is present — if it's in the devDependencies section then it should be moved to the dependencies section.
"Files"
propertyNone of the files are present when the package is deployed to npm
The paths should be declared like so
Bad
"files": [
"./dist",
"./src/img",
"./src/scss"
]
Good
"files": [
"dist",
"src/img",
"src/scss"
]