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

apex-nitro init does not end properly #343

Open
nklaver-nl opened this issue Nov 4, 2020 · 1 comment
Open

apex-nitro init does not end properly #343

nklaver-nl opened this issue Nov 4, 2020 · 1 comment

Comments

@nklaver-nl
Copy link

Issue Description

Because fsevents is not available for windows the installation process is hanging after installing sass-loader.
All the binaries are created in my project folder

APEX Nitro Version

v5.02

Operating System

Windows 10

Node Version

14.15.0

Browser

Chrome

APEX Version

20.1

Web Server

Autonomous cloud

Project configuration screenshot

image

@nklaver-nl
Copy link
Author

Investigated further. This problem is caused by function installPackage in npm-service.js.

Argument packagePath is defaulted with "./" which results in calling npm install with --prefix ./. This prevents using node_modules.bin as script directory. All scripts are installed in the current directory. This causes my problems. I removed the default and changed await fs.ensureDir(packagePath); in if (packagePath) await fs.ensureDir(packagePath); this will do the trick.

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