Skip to content

use strict: command not found #11

@DimitarNestorov

Description

@DimitarNestorov
/Users/dimitarnestorov/.npm/_npx/8804/bin/browserslist-useragent-regexp: line 1: use strict: command not found
/Users/dimitarnestorov/.npm/_npx/8804/bin/browserslist-useragent-regexp: line 3: syntax error near unexpected token `ex'
/Users/dimitarnestorov/.npm/_npx/8804/bin/browserslist-useragent-regexp: line 3: `function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }'

Adding #!/usr/bin/env node to the top of cli.js fixes the issue

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions