question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running into issue with sync on `pnpm`

See original GitHub issue

As per title, running into the following issue:

node -r dotenv-vault-core/config ./node_modules/.bin/next dev
.../node_modules/.bin/next:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1033:15)
    at Module._compile (node:internal/modules/cjs/loader:1069:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47

Running node V16.15.1, next 13.0.4

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ElasticBottlecommented, Nov 22, 2022

Awesome, works like a charm, thanks.

I have made a related simple PR/www#17 that adds more information for future pnpm users.

0reactions
motdotlacommented, Nov 22, 2022

Thank you 💪

Read more comments on GitHub >

github_iconTop Results From Across the Web

pnpm does not sync new files in local path dependencies #5381
We have a local dependency in ./app/package.json , and ./app is initialized by pnpm run install . "dependencies": ...
Read more >
pnpm install
pnpm install is used to install all dependencies for a project. In a CI environment, installation fails if a lockfile is present but...
Read more >
pnpm/pnpm - Gitter
I'm running into an issue with pnpm and the vscode-eslint plugin. ... ERROR No write access to the found global executable directories at...
Read more >
IDE "Synchronizing files..." Indefinitely after installing ...
Unzip and open the attached project webstorm-stuck-synchronizing-files.7z in WebStorm · Run pnpm install from the terminal while the project is opened. (Make ...
Read more >
How we configured pnpm and Turborepo for our monorepo
Having packages in separate repositories meant we were duplicating code or solving similar problems in a slightly different way from one ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found