Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Cross-env does not work under raspberry pi (arm32) #214

Closed
mmc41 opened this issue Oct 4, 2019 · 2 comments
Closed

Cross-env does not work under raspberry pi (arm32) #214

mmc41 opened this issue Oct 4, 2019 · 2 comments

Comments

@mmc41
Copy link

mmc41 commented Oct 4, 2019

  • cross-env version: 6.0.3
  • node version: 12.10.0
  • npm (or yarn) version: npm 6.10.3

Relevant code or config
In package.json scripts:
"test": "cross-env LIBXTRACE=trace ts-node xxx.ts"

Problem description:
Error "cannot find module 'which' in internal/modules/cjs/loader.js:775

@kentcdodds
Copy link
Owner

Hi @mmc41,

This library depends on cross-spawn which depends on which. If you're seeing that error my guess is that your dependencies were not installed properly.

Sorry, there's not much that's actionable about this issue, so I'm going to close it.

@mmc41
Copy link
Author

mmc41 commented Oct 6, 2019

just tested using yarn instead of npm and here it works. So it must be a npm problem.

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

No branches or pull requests

2 participants