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

Unsupported platform for acorn-walk@8.3.1 #1288

Open
sknightq opened this issue Mar 29, 2024 · 1 comment
Open

Unsupported platform for acorn-walk@8.3.1 #1288

sknightq opened this issue Mar 29, 2024 · 1 comment

Comments

@sknightq
Copy link

I tried to install @next/bundle-analyzer package in win10. But I got the npm error like flowing:

$ npm i @next/bundle-analyzer
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for acorn-walk@8.3.1: wanted {"os":"android"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    android
npm ERR! notsup Valid Arch:  undefined
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

node V16.20.2
next V13.5.6

@marijnh
Copy link
Member

marijnh commented Mar 29, 2024

acorn-walk has no platform restrictions, nor any dependencies (that could somehow cause platform restrictions), so I'm not sure what's going on here, but I doubt it's a problem with the acorn package.

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

2 participants