Skip to content
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

fix: fix playground creation #3644

Merged
merged 3 commits into from
Jul 2, 2022
Merged

fix: fix playground creation #3644

merged 3 commits into from
Jul 2, 2022

Conversation

federicoestevez
Copy link
Contributor

Creating an application from the yarn playground:new command is currently not working, it is failing due to this error:

Running Remix Init...
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '/workspaces/remix/playground/playground-1656781242957/node_modules/@remix-run/dev/cli'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v17.6.0
node:internal/errors:844
  const err = new Error(message);
              ^

Error: Command failed: node ./node_modules/@remix-run/dev/cli init
    at checkExecSyncError (node:child_process:828:11)
    at execSync (node:child_process:899:15)
    at createNewProject (/workspaces/remix/scripts/playground/new.js:57:5) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 14816,
  stdout: null,
  stderr: null
}

Node.js v17.6.0
error Command failed with exit code 1.

It seems to have stopped working since #3540

Closes: #

  • Docs
  • Tests

Testing Strategy:

yarn playground:new
...
Setup is complete. You're now ready to rock and roll 🤘

@federicoestevez
Copy link
Contributor Author

@mcansh

Copy link
Collaborator

@mcansh mcansh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect, thanks!

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

Successfully merging this pull request may close these issues.

2 participants