8000 Strange issue with dot-object bash script · Issue #59 · rhalff/dot-object · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

8945 Strange issue with dot-object bash script #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pdescham49 opened this issue Sep 2, 2020 · 0 comments
Open

Strange issue with dot-object bash script #59

pdescham49 opened this issue Sep 2, 2020 · 0 comments

Comments

@pdescham49
Copy link

Hi,

This one has me scratching my head:

ENV Windows 10
git version 2.18.0.windows.1
node v12.16.1
dot-object@2.1.3

Example script:

var dot = require("dot-object");
var basepath = process.cwd();
console.log(basepath);

And when I run the above script i get:

basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^

SyntaxError: missing ) after argument list
?[90m at wrapSafe (internal/modules/cjs/loader.js:1072:16)?[39m
?[90m at Module._compile (internal/modules/cjs/loader.js:1122:27)?[39m
?[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)?[39m
?[90m at Module.load (internal/modules/cjs/loader.js:1002:32)?[39m
?[90m at Function.Module._load (internal/modules/cjs/loader.js:901:14)?[39m
?[90m at Module.require (internal/modules/cjs/loader.js:1044:19)?[39m
?[90m at require (internal/modules/cjs/helpers.js:77:18)?[39m
at Object. (C:\AngularApps\eserv-web-common-1\apps\tr\src\assets\translations\ngx-translate-extract-csv-ircc.js:2:11)
?[90m at Module._compile (internal/modules/cjs/loader.js:1158:30)?[39m
?[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)?[39m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0